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

IF Based on Amount

Hi Team

 

Let see my table

IFamount.png

 

how to do with DAX ?

 

Thanks

Syaiful

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for idea

but i found my solution from ur example ,, thanks

i used this

if (table[revenue] < 1000, "Check", "Ok")

 

Regards

syaiful

View solution in original post

3 REPLIES 3
v-yiruan-msft
Community Support
Community Support

Hi @Anonymous ,

You can create the below calculated column:

RESULT = IF('TEST'[REVENUE]<1000||ISBLANK('TEST'[REVENUE]),"CHECK",(IF('TEST'[REVENUE]>=1000,"OK")))

calculated column.JPG

 

 

Best Regards

Rena

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

Hi @Anonymous 
 
Try something like this:
 
Measure = if (sum(table[revenue])) < 1000, "Check", "Ok")
 
Jan
Anonymous
Not applicable

Thanks for idea

but i found my solution from ur example ,, thanks

i used this

if (table[revenue] < 1000, "Check", "Ok")

 

Regards

syaiful

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.