Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.