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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply

change column using a parameter

I have a table from a select query that has 3 columns date, units, and count.

 

date                 units                  count

20160225         1                       1

20160226         1                       1

 

this is how it looks in the table

 

What I'm trying to do is create a chart that will display the dates and the units or the count.  I need to use either a parameter or a filter but I'm not sure what is the best.  I need to be able to select from a filter or a parameter units; and the line graph will generate a graph for the units, then if I need to select count the graph will change using the count.  Can someone please help?

 

Thank you,

 

Antonio Fallucca

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@antoniofallucca,

You can create a disconnected table to achieve the above requirement. for more details, please review the following PBIX file.

https://1drv.ms/u/s!AhsotbnGu1Nogyme9jhSllQtuudL

Regards,
Lydia

View solution in original post

1 REPLY 1
Anonymous
Not applicable

@antoniofallucca,

You can create a disconnected table to achieve the above requirement. for more details, please review the following PBIX file.

https://1drv.ms/u/s!AhsotbnGu1Nogyme9jhSllQtuudL

Regards,
Lydia

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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