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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
JuanBolas
Helper II
Helper II

Is there a way to have a slicer linked to columns in a table visual?

I want to set up a table visual that looks like this

 

Category                  Current Month Total       Previous Month Total          Variance

----------------------------------------------------------------------------------------------

Strawberries                                     100                                    85                      17%

Apples                                                75                                    80                      -6%

Grapes                                                95                                    93                       2%

 

I'm wondering if it's possible to have a slicer that referes to the current month in a way that when you select the month, the data in the current and previous month change to that month.  And it would be great to have the column title change as well.

 

If possible, how do you go about it?

 

Thanks in advance.

2 ACCEPTED SOLUTIONS
Ashish_Mathur
Super User
Super User

Hi,

Share the link from where i can download your PBI file.


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

View solution in original post

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


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

View solution in original post

6 REPLIES 6
JuanBolas
Helper II
Helper II

Thank you!

v-henryk-mstf
Community Support
Community Support

Hi @JuanBolas ,

 

Whether the advice given by @Ashish_Mathur  has solved your confusion, if the problem has been solved you can mark the reply for the standard answer to help the other members find it more quickly. If not, please point it out.


Looking forward to your feedback.


Best Regards,
Henry

Ashish_Mathur
Super User
Super User

Hi,

Share the link from where i can download your PBI file.


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

Hello @Ashish_Mathur,

 

Here is a link to the PBIX.  The column totals are actually the count by carrier of carrier for the current and previous month.  I realized that the 'current month' should be the last month of data (max of date column) and not what could be the current month in a toda() statement.

 

Thanks in advance.

 

https://drive.google.com/file/d/1SbBRhnigYuCoHPik18k1MLOk1vWe-OLn/view?usp=sharing

 

 

 

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
jianlong
Resolver I
Resolver I

The column header can not be dynamic for now.  However, you can 

1) Make the header white color

2) place two dynamic cards on top to make them dynamic as header

Helpful resources

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