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 All!
I'm pretty new to DAX code and to Power BI in general, I'm facing an issue right now where I can't get the total sum correct based on previous given condition:
Basically what I'm trying to do is to get only the IF Fines if the are above the 98% column (IF%) but instead I'm getting the total sum as it was ignoring my previous condition as you can see in above picture, here's the formula:
Solved! Go to Solution.
Try this measure:
IF Fines DAX =
SUMX (
VALUES ( YourTableName[customer_vendor_num] ),
IF ( [IF %] <= .98, [Sum of if fines] )
)
Here's an article on totals:
https://www.sqlbi.com/articles/why-power-bi-totals-might-seem-inaccurate/
Proud to be a Super User!
Try this measure:
IF Fines DAX =
SUMX (
VALUES ( YourTableName[customer_vendor_num] ),
IF ( [IF %] <= .98, [Sum of if fines] )
)
Here's an article on totals:
https://www.sqlbi.com/articles/why-power-bi-totals-might-seem-inaccurate/
Proud to be a Super User!
This is exactly what I needed, thank you so much!
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 | |
| 37 | |
| 31 | |
| 30 |