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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
VisheshVats
Helper I
Helper I

"Switch" to return more than one output

Hello, I have a line chart visual that changes valuse based on value selected in another table visual.

It works fine if when a value is selected, but shows only one pre-set output if nothing is selected in the table.

My measure is:

Switch.JPG

 

I want the chart to show all possible out comes if no value is selected in the table.

Something like this:

 

All Chart.JPG

 

Anyway I could achieve this?

Thanks in advance.

@Greg_Deckler 

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

I think there is a problem with your tables in the model.  I think you should append data from all tables into a single one.  I can help further only if you share the download link of your PBI file along with the source Excel files as well.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Greg_Deckler
Super User
Super User

@VisheshVats Add 'Table Daily'[Name] to your Legend field well?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

It's a table I created with just one column consisting names of the entities I wish to slice the visual over.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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