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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Anonymous
Not applicable

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.

Anonymous
Not applicable

Thank you, I ended up using a calendar table.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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