Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
I want a Dax with a IF Statement like this:
if [counts] = "Yes" then [date]&[mdm ID]&[User ID] else null
Can you Help me?
Solved! Go to Solution.
You already provided the solution yourself:
CC = IF ( [counts] = "Yes", [date] & [mdm ID] & [User ID], "null" )
Hi @rmeng ,
Is this a Calculated Column or a measure?
For a Calculated Column
Calculated Column = if ('Table'[Count] = "Yes", 'Table'[date] & 'Table'[mdm ID] & 'Table'[User ID] , BLANK())
If [Count] is a measure.
Then create a measure
Measure = if ([Count] = "Yes", 'MAX(Table'[date]) & MAX('Table'[mdm ID]) & MAX('Table'[User ID]) , BLANK())
Regards,
Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
You already provided the solution yourself:
CC = IF ( [counts] = "Yes", [date] & [mdm ID] & [User ID], "null" )
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
26 | |
20 | |
18 | |
14 | |
13 |
User | Count |
---|---|
43 | |
36 | |
24 | |
22 | |
21 |