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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@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

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@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

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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