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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
raccoon123456
Frequent Visitor

Slicer & Dynamic Table

HI PBI People, 
@lbendlin perhaps as a Dax Guru you could help? 

 

I have two visual on my page.
One table I wish to be filtered by end user by using above slicer ex. choose financial quarter,
in another table I wish to display values from previous quarter.

If slicer is set to  3 Qtr 2001, first table show 3 Qtr 2001 but  second table dynamically change to previous quarter 2 Qtr 2001.

How I could achieve that?

Thank you 🙂

 

slicer.jpg

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Create a measure with your value calculation. Use a filter against your calendar table. DATEADD(calendar[Date],-3,MONTH)

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

Assuming you already have a Calendar table and the slicer has been built from there, this measure should work.  You may drag this measure to the first table itself.

PQ = calculate([Tota],previousquarter(calendar[date]))

Hope this helps.


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

Create a measure with your value calculation. Use a filter against your calendar table. DATEADD(calendar[Date],-3,MONTH)

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.