Join 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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Good afternoon everyone, I have a matrix that has blank spaces as seen in the picture.
When I add a new measure the following measure:
Could you help me as I avoid adding the columns and rows that I initially did not have them?
From antenamo thank you very much for the suggestions.
You need to find the context and create a measure that calculates that (for example the Total or Subtotal columns).
Subtotal = CALCULATE( [Measure] , ALL( tablename[columnname]) )
Where tablename[columnname] is the column that's used in the columns of your matrix.
Then add a new measure:
IF( [Subtotal] >0, 0 + [Measure])
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
| User | Count |
|---|---|
| 49 | |
| 37 | |
| 33 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 132 | |
| 99 | |
| 56 | |
| 37 | |
| 37 |