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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Blank chart as default

Hi everyone. How does one make a chart (in this case line chart) blank unless a slicer value is selected?

Here is how it looks now. It's confusing for engineers due to aggregation of MD:

 

1.PNG

Here is how it should like before choosing a slicer on the left and after having chosen one - on the right:

 

2.PNG3.PNG

 

 

 

 

 

 

 

 

 

 

 

 

Thanks in advance!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Try like

new MD By Days= if(isfiltered(Table[Well]),[MD By Days],blank())

 

refer

https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , Try like

new MD By Days= if(isfiltered(Table[Well]),[MD By Days],blank())

 

refer

https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

hi @amitchandak what is [MD By Days]? Is it [Table2[MD] By Table3[Days])?

 

Anonymous
Not applicable

Hi @Anonymous 

 

 

M_MD = IF(HASONEFILTER('Table'[Well]),SUM('Table'[MD]),BLANK())

 

Result:

Blank chart as default:

 2.png

Select the slicer.

3.png

You can download the pbix file from this link: Blank chart as default

 

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.