Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not 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?

 

Capture.PNG

1 ACCEPTED SOLUTION
Anonymous
Not 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.

View solution in original post

3 REPLIES 3
Anonymous
Not 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.
amitchandak
Super User
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())

 

az38
Community Champion
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() )

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.