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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
AR_Coordo
Frequent Visitor

Problem combining measures on current month and previous month

Hi all,

 

I'm trying to combine two measures on a graph, one wich calculate, at the latest alimentation date, result of current month, another wich calculate, the 2nd of current month, result of previous month ? 

 

For example, we are 08/05 and my performance of this month (august) is so far of 25%. Previous month performance (july) was calculated 08/02 and is of 80%.

Alimentation dateperformance
08/0280%
08/0525%


Alimentation date is on my x axis, I would like to display 80% in july and 25% in august.

 

Any idea how to achieve this ? I tried using dateadd function but it didn't do anything.

 

Thank you in advance for your help.

Regards,

 

Alice

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Add a "Target date"  column to your data and use that for the x axis.

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

Add a "Target date"  column to your data and use that for the x axis.

Thank you, I ended up using a calendar table.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.