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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
DavidB023
Helper III
Helper III

Filter Date

 

Hi everybody !

 

Is there a filter to show on a slicer, only date which have a value associated ?

Here is my table, I don't want date with a 0%...

Capture.PNG

 

Thanks

Best regards

David

 

1 ACCEPTED SOLUTION

Hi @DavidB023,

 

Check out this pbix.
I have tried to replicate your scenario and used a calculated column to achive the result.

ValueWithoutZero = IF(Table1[Value] = 0,BLANK(),Table1[Value])

 

Let me know if you face any issues.

 

Prateek Raina

View solution in original post

6 REPLIES 6
prateekraina
Memorable Member
Memorable Member

Hi @DavidB023,

 

The column name which you have obfuscated/hidden in the screenshot, from where is that column coming from?

Is it a measure? or calculated column? or coming directly from your datasource/database?

 

Prateek Raina

Hi @prateekraina,

 

It comes from my database directly, but I could have similar problem with other column which are calculated column.

Hi @DavidB023,

What is the data type of this column?

Prateek Raina

@prateekraina


It is decimal number and I turn them in purcent.

Hi @DavidB023,

 

Check out this pbix.
I have tried to replicate your scenario and used a calculated column to achive the result.

ValueWithoutZero = IF(Table1[Value] = 0,BLANK(),Table1[Value])

 

Let me know if you face any issues.

 

Prateek Raina

@prateekraina,

 

Thanks for your answer, it worked easily with that after I put an advanced filter on page "is not blank"

 

Best regards

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.