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
Joyclyn
Regular Visitor

Building visuals and using filters

Hello all,

 

I'm trying to do a comparison of Sales QTD and QTD for the previous year but whenever I use a quarter and year filter, it shows only the sales QTD for the select period and does no comparison.

 

please how can anyone help?

1 REPLY 1
lbendlin
Super User
Super User

you need to create the comparison measure yourself.  For true QTD you also need to have a flag in your calendar table that marks which days of prior periods should be considered. Otherwise you would compare to full prior periods.

 

Have you written DAX measures yet?  If you like more help please provide sanitized sample data that fully covers your issue. Paste the data into a table in your post or use one of the file services. Please show the expected outcome.

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.