Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
hello everyone,
i have a matrix table, and formula
correct = IF(HASONEVALUE('Product Revenue'[Item]),[Total expense],SUMX(VALUES('Product Revenue'[Item]),[Total expense]))
the column is correct, but row isnt correct, how can i solve? example first row, 30.45 + 0.01 = 30.46 not 91.37
Solved! Go to Solution.
just created another measure,
correct 1 = IF(HASONEVALUE('Product Revenue'[product]),[Total expense],SUMX(VALUES('Product Revenue'[product]),[Total expense]))
correct 2 = IF(HASONEVALUE('Product Revenue'[item]),[correct 1],SUMX(VALUES('Product Revenue'[Item]),[correct 1]))
just created another measure,
correct 1 = IF(HASONEVALUE('Product Revenue'[product]),[Total expense],SUMX(VALUES('Product Revenue'[product]),[Total expense]))
correct 2 = IF(HASONEVALUE('Product Revenue'[item]),[correct 1],SUMX(VALUES('Product Revenue'[Item]),[correct 1]))
1 What filter context do you have, including row/column of the matrix, slicer, filter pane?
2) How is [Total expense] defined?
only filter is date i use date slicer,
Total expense = IF([Item Count per product]>1,[Price] * [Rev per Item] * [Item Count per product],[Price] * [Rev per Item])
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
6 | |
4 | |
3 | |
3 |
User | Count |
---|---|
13 | |
11 | |
8 | |
8 | |
8 |