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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
ahmedshalabyy12
Helper II
Helper II

Blank rows in calculation groups

Dears,

I have used calculation groups , but there are some blank rows i want to hide them but i cannot 

 

filters applied (relative date    last 2 years )

 

i used this fuction but not working

Selected Measure= if(isblank(selectedmeasure(),blank(),selectedmeasure())
power bi supposed to hide the blank rows but not working 

so please assist me 

ahmedshalabyy12_0-1750777400913.png

 

Thank you 

1 ACCEPTED SOLUTION

@ahmedshalabyy12 - then you just need to adjust your calculation items for prev day, month and year to show BLANK() when isblank(Selectedmeasure()). 

 

I'd imagine you can write that dax! 

 

If I answered your question please mark my post as the solution, it helps others with the same challenge find the answer!

View solution in original post

4 REPLIES 4
mark_endicott
Super User
Super User

@ahmedshalabyy12 - Setting something to BLANK() will not specifically hide rows, especially when you have data in Prev Day, Prev Month and Prev Year for most if not all of your dates. 

 

You can set a visual filter for Selected Measure to say "is not blank" and this will hide the rows you do not wish to see. 

mark_endicott_0-1750777774023.png

 

If I answered your question please mark my post as the solution, it helps others with the same challenge find the answer!

 

i tried it but it's not working for the selectedmeasure 

if you filter with basic you will find  prev month prev year prev day and selected measure 
so the filter not applied on the values inside selected measure 

@ahmedshalabyy12 - then you just need to adjust your calculation items for prev day, month and year to show BLANK() when isblank(Selectedmeasure()). 

 

I'd imagine you can write that dax! 

 

If I answered your question please mark my post as the solution, it helps others with the same challenge find the answer!

This Worked Thank you 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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