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
Anonymous
Not applicable

How to get data for WTD ,MTD and QTD in Power Bi

Hello All,

 

I have a report where I need to filter my data based on trendtype.

The columns I have are Date,TrendType and Sales as below

 

Sathvik123_1-1648053868248.png

 

So I created a slicer called trendtype having 4 values  daily, weekly,Monthly and Quarterly

So data is already aggrigated for daily , weekly and monthly (dont have data for Quartely)

 

If user selects daily in slicer then I need to show last 30 days data

Weekly then last 12 weeks data and also I need to show WTD data too

Monthly then last 12 Months data and also I need to show MTD data too

Quarterly then last 4 Quarters data and also I need to show QTD data too

 

Could any one please help , how to do this

 

 

 
1 REPLY 1
mh2587
Super User
Super User

https://community.powerbi.com/t5/Desktop/Change-time-period-week-Month-Quarter-on-slicer-selection/t...

Hope this will help you


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.