Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi PBI Gurus,
I want to create a Measure that does this:
Solved! Go to Solution.
Hi @Anonymous .
try the following code:
Adjusted = SUMX(Products;IF(Products[ProductsGroupcode] = "AB", [GrossOrders$] * 0.7 , [GrossOrders$]))
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Anonymous .
try the following code:
Adjusted = SUMX(Products;IF(Products[ProductsGroupcode] = "AB", [GrossOrders$] * 0.7 , [GrossOrders$]))
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em Português@Anonymous , Try one of the
MyOrder$ = CALCULATE( IF( max(Products[productGroupCode]) = "AB", [GrossOrders$] * 0.7, [GrossOrders$] ))
MyOrder$ = sumx(values(Products[productGroupCode]), IF( max(Products[productGroupCode]) = "AB", [GrossOrders$] * 0.7, [GrossOrders$] ))
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 84 | |
| 49 | |
| 38 | |
| 31 | |
| 30 |