This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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:
Here is how it should like before choosing a slicer on the left and after having chosen one - on the right:
Thanks in advance!
Solved! Go to Solution.
@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/
@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/
Hi @Anonymous
amitchandak shows you a good way by using isfiltered function and you may try to use hasonefilter function as well.
I build a table to have a test.
Build a measure:
M_MD = IF(HASONEFILTER('Table'[Well]),SUM('Table'[MD]),BLANK())
Result:
Blank chart as default:
Select the slicer.
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.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 23 | |
| 22 | |
| 16 | |
| 15 |
| User | Count |
|---|---|
| 60 | |
| 35 | |
| 28 | |
| 22 | |
| 21 |