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

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
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.