Skip to main content
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Post Prodigy
Post Prodigy

Best way to avoid blank groups in tables and matrices.

I have written the below code for many different measures:


Measure :=
    SUM ( Revenue[xyz] ),
    FILTER ( 'Cost center', NOT 'Cost Center'[Department] IN { BLANK () } )



Initially I did it just for one; but ended up doing it for most of Revenue columns...


I did this in order to avoid the annoying first group that is blank...




Is this a correct way of fixing the blanks? or is there a more performant way?


(I work with SSAS cubes, and I would rather avoid having this fix in the .pbix)

Not applicable

Why not filter in the Table or Matrix using Filter Pane? ex: Department is not blank. But then you will have to do this for every Table or Matrix.


Question is why do you have Blank Department or any other Blank columns (in same hierarchy) in the Cost center dimension. Do you have correct relationships with Fact?




Solution Specialist
Solution Specialist

before addressing the technical DAX issue, don't you have any values with blank (or null) Cost Centers?

Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors