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
cdelaney
New Member

Compare Revenue over Two Date Ranges Using inactive calendar

Hi,

 

I am trying to compare revenue over two date ranges using an inactive calendar related to my active calendar. I have setup a measure called Revenue LP as 

Revenue LP = CALCULATE(SUM(ReportingSalesDataFullView[List Item: Amount]),USERELATIONSHIP(DimDateRelative[FullDateAlternateKey],DimDate[FullDateAlternateKey]),ALL(DimDate))
 
There is a filter applied to all pages on ReportingSalesDataFullView[OrderDate] for previous 1 year which sets the starting (max) range on my first date slicer (DimDate) .. but my second slicer (DimDateRelative) has a much larger date range (2011-2030 .. im not sure where this is coming from as my dataset doesnt have items in tht range) .. i would like both slicers to have the widest/max date range as that set by the all pages date filter ...
 
I am new to this so may be missing a concept. and may need to provide more info on my schema. Screenshot 2023-07-11 at 2.48.26 PM.pngScreenshot 2023-07-11 at 2.49.55 PM.png
0 REPLIES 0

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.