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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

how to setup a baseline value to compare against row values?

hi all,

 

Im trying to creat a baseline value to use  in a matrix table that compares to a daily forecast.

 

In this table the base line value is loaded on date 3/20/2020 and the rest are the following days values which i want to see the change in units against the base line value

 

 

image.png

since im using to date table(one for X axis and another for the load of the forecast in Y axis) i used the following dax messure to try and ignore the dates on the left and have it repeat the baseline number but i end up just having one entry in the date 3-20-20

 

image.png

little bit of context the table ref calendar is the one used in the Y axis or  row dates. 

 

I belive this can bee solve using variables but not sure hoe to implement it

 

thanks for  the help

 

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,

Could you please provide some smaple data in source table "Demand Plans"(exclude sensitive data)? And which table the fields applied on Matrix are from?

Best Regards

Rena

Greg_Deckler
Community Champion
Community Champion

Why not:

 

CALCULATE(SUM('Demand Plans'[DP Qty]),'Ref Calendar'[Date] = DATE(2020,3,20))



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Seems to work,

image.png

 

however the baseline date is hardcoded, how can i call it dynamically, say havin another table to use in a slicer with the baseline date to use? how would that be implemeted in the calculate function?

Anonymous
Not applicable

Hi @Anonymous ,

Can I know how to get these Baseline DP QTY with red circle which displayed in below sceeen shot? If you want to dynamically obtain this base date, then there are bound to be any rules or conditions here. Is there such a rule?

Which tables the fields applied on matrix are from? Could you please provide some sample data in source tables? And if they are from multiple tables, please provide the relationship and bond field between 2 tables. Thank you.

baseline.JPG

Best Regards

Rena

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors