Forum Discussion
Anonymous
6 years agoNot applicable
Creating a DAX IN Power BI to display description
I want to display description using a Measure.In below table simply i want the condition as follows,
If ID=1 and namd=ABC and Company=AA display Description.Can someone please help me on this?
- Anonymous6 years ago
Hi, I found a way to do this in a measure.The formula is
Phone_Complete = LOOKUPVALUE(Table1[Description],Table1[ID],"A",Table1[name],"ABC",Table1[Company],"AA")This works for me.Thank you all who took time to read my post and answer.
3 Replies
- az38
Community Champion
Hi Anonymous
you dont need a measure, you need New Calculated Column, be careful
Column = IF( [ID]=1 && [name]="ABC" && [Company]="AA", [Description], BLANK() ) - amitchandak
Super User
Anonymous ,Try like
new column = if([ID]=1 && [name]="ABC" && [Company]="AA" , "My Company Name " & [Company],blank()) new measure = if(max(table[ID])=1 && max(table[name])="ABC" && max(Table[Company])="AA" , "My Company Name " & [Company],blank()) - AnonymousNot applicable
Hi, I found a way to do this in a measure.The formula is
Phone_Complete = LOOKUPVALUE(Table1[Description],Table1[ID],"A",Table1[name],"ABC",Table1[Company],"AA")This works for me.Thank you all who took time to read my post and answer.