Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I am trying to do something seemingly simple but cannot get it to work despite many trials and research. I am thinking it cannot be done but would apppreciate any guidance.
Data: For the purposes of illustrating the problem, i will be using Power BI sample data which has 1 table called "Financials" contaiing columns for country, product, segment, sales, profit etc.
Visuals: I have 2 visuals. a bart chart and a table as shown
Problem: What I want is for the bar graph to display nothing when a product is selected in the table. I created a measure which will return blank if financials[product] is filtered or will return gross sales otherwise. I set this as the input to the Y axis of the bar graph but it always shows the chart even if I select a product on the table. Is there any way to make it work?
Solved! Go to Solution.
I just tried to reproduce this and got it working at my end.
A couple of things to check:
Gross Sales if Product Not Filtered =
IF (
NOT ISFILTERED ( financials[Product] ),
SUM ( financials[Gross Sales] )
)
PBIX attached for reference.
Does this work for you?
I just tried to reproduce this and got it working at my end.
A couple of things to check:
Gross Sales if Product Not Filtered =
IF (
NOT ISFILTERED ( financials[Product] ),
SUM ( financials[Gross Sales] )
)
PBIX attached for reference.
Does this work for you?
thanks! it does work but only for your file. Even when I copy your formula for the measure in mine, it doesnt work. Is there some setting I need to change?
I tried again and had to change the interaction setting and now it works! thank you
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 90 | |
| 81 | |
| 66 | |
| 65 |