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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Zarig
New Member

How to Get Sum Discount based on MIN MAX from multiple condition

Hi, Everyone 

I have struggle for some days. I want to compare may value that fullfil from min and max to get the discount. Here for discount table. 

Zarig_1-1667362887997.png

For the next one, if the value fullfil 2 min and max so the discount will be sum. For example the value is 65 it will get 2 discounts (1+2) so the discount will be 3. 

Actually I want to use measure so I can use filter in my report. For now I still use this measure

measure = IF(Table1[measure1] > MIN(Table2[MIN]) && Table1[measure1] < MAX(Table2[MAX),SUMX(Table2,[Discount]), 0)

And the value that I want compare is in another table. 

Thanks


 

 

1 REPLY 1
Anonymous
Not applicable

Hi @Zarig ,

 

Have trouble to follow. Please share the expected result.

 

Best Regards,

Jay

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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