Forum Discussion

champioz's avatar
champioz
Frequent Visitor
8 months ago
Solved

Show selected calculation group items with no data, but not rows where every calculation item is 0

I have a very niche issue.   I am using field parameters and calculation groups to let users build a matrix. They pick measures from the calculation group, a dummy measure in the values field of th...
  • Anonymous's avatar
    Anonymous
    8 months ago

    Hi champioz,

    Thank you  for reaching out to the Microsoft fabric community forum.


    I understand that you want each selected measure to show as a row header for warehouses with at least one populated measure, while hiding warehouses with no data. Power BI’s matrix doesn’t directly distinguish between missing measures for a warehouse and warehouses with no data, so methods like +0, COALESCE, or “Show items with no data” can add extra rows you don’t want. One workaround is to create a helper table listing all warehouse–measure combinations and use it as the row axis, so headers always display but you can still filter out warehouses where all measures are blank. Alternatively, you could add an “AnyDataExists” measure to flag warehouses with any non-blank measure and use that to filter the matrix. While not perfect, this approach avoids issues with COALESCE and gives you more control over which rows are shown.

    Hope the above provided information help you resolve the issue, if you have any further concerns or queries, please feel free to reach out to us.
    Regards,
    Community support Team.