Jump to content

Need help on powerbi project DAX


Recommended Posts

Posted

Is there any one who can provide some help/support  on PowerBI project DAX stuff.

Please pm vayyas if you can lend some time. 
 

 

Posted

Post here no. Solution teliste post chestaru kada..

I can give it a shot.

Posted

My requirement is to make use of EventCode and Type category finally retrieve Output 2, which is stripping out Type from EventCode  and check if number exists and return true  using DAX

lets assume table name as TBL

EventCode    Type                           Output1             Output 2(Return true if number exist in string else false)

ABC03938      ABC                          03938                          True

ABC49nmkas  ABC                         49nmkas                       True     

RE0943mmjh  RE0                          943mmjh                       True

RE0SAM4B      RE0                          SAM4B                          True

RE0SAMB      RE                            0SAMB                             False

ABC4DEFG      NotWork              ABC4DEFG                      False   

ABCDEFG        NotWork                ABCDEFG                     False

Posted
1 hour ago, Democraticcompulsion said:

Post here no. Solution teliste post chestaru kada..

I can give it a shot.

posted the question baa

Posted
35 minutes ago, gundugadu said:

posted the question baa

Notwork enti.. null or some other random value aa

Posted
1 hour ago, gundugadu said:

My requirement is to make use of EventCode and Type category finally retrieve Output 2, which is stripping out Type from EventCode  and check if number exists and return true  using DAX

lets assume table name as TBL

EventCode    Type                           Output1             Output 2(Return true if number exist in string else false)

ABC03938      ABC                          03938                          True

ABC49nmkas  ABC                         49nmkas                       True     

RE0943mmjh  RE0                          943mmjh                       True

RE0SAM4B      RE0                          SAM4B                          True

RE0SAMB      RE                            0SAMB                             False

ABC4DEFG      NotWork              ABC4DEFG                      False   

ABCDEFG        NotWork                ABCDEFG                     False

Output1=Right([EventCode],len(EventCode]-len([Type]) Not sure if this logic works for you.. but what I thought makes sense.

Output2= CONTAINSSTRING([Output1], [Type])

Posted

I have implemented the solution  by creating a new  calculated column which will provide output 2 using variables.

will post the solution once I logon.

 

Posted
On 1/12/2021 at 10:34 PM, gundugadu said:

Is there any one who can provide some help/support  on PowerBI project DAX stuff.

Please pm vayyas if you can lend some time. 
 

 

PoweBI la DAX full tough untada or doable?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...