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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

compare a measure from fact table for different timestamp in line chart

Hey, I have been tasked to change the data model for existing Power BI report and iIm facing roadblock while recreating below chart. The below screen shot is from existing PBIX file where the data is stored in traditional format.

 

Problem Statement: Two tables New_BD_Fact_Current and New_BD_Fact_Prior are from single source Fact table (BD FactData). New_BD_Fact_Current contains data only for latest month and New_BD_Fact_Prior contains all data except of latest month.

 

Current field as in Axis visualization is bassically Expected Revenue from Current table and Prior as in Secondary values is Expected Revenue from Prior table.

 

Is there any simple solution to display this comparision from single Fact table itself, I have expected revenue measure in Fact table and Week number in Date dimension with both the tables relationship as DateID.

 

PBIX.PNG

1 REPLY 1
lbendlin
Super User
Super User

Instead of using the secondary axis (which has a very different scale than the primary axis) create a flag in your fact data that distinguishes between "current" and "prior" and then add that flag to the Legend well.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

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.