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

Changing value of one field in respect to other in Power BI

Hi Experts,

 

I need to implement one logic as explained below.

I need to change the value for one field in respect to measure value in front of it. Like if measure value is <0 then the value of the field should show "NA" as shown.

 

- All values are coming from same table.

Current Table in Power Bi reportCurrent Table in Power Bi reportTable should look like this after logic, I dont need to show Measure1 column alsoTable should look like this after logic, I dont need to show Measure1 column also

 

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

 

What about creating a calcuted column with if function?

 

 

Column = IF('Table1'[Measure]<0,"NA",'Table1'[Column1])

if.PNG

 

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

 

What about creating a calcuted column with if function?

 

 

Column = IF('Table1'[Measure]<0,"NA",'Table1'[Column1])

if.PNG

 

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thanks Cherry,

 

Can we achieve this using DAX through measures on the report only?

 

Regards,

mannsandhu963

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.