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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ahmedshalabyy12
Helper III
Helper III

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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