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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
WilliamForero
Helper I
Helper I

tabla con datos del mes anterior

buen dia expertos,

 

estoy tratando de crear una medida que me muestre los valores del mes anterior pero no se en que estoy fallando.

 

WilliamForero_0-1680541083351.png

 

ya tengo una medida donde traigo el mes anterior, 

 

Fecha ant = EDATE(MAX(PBO[FECHA]),-1)
 
pero para traer el total de la PBO
 
estoy usando esta medida
 
PBO ant = CALCULATE(MAX(PBO[VALOR]),FILTER(ALL(PBO),PBO[FECHA]=[Fecha ant]))
 
1 ACCEPTED SOLUTION
olgad
Super User
Super User

Hola,

Calculate(Sum([Valor]), PARALLELPERIOD('Date'[Date],-1,MONTH))

DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
Linkedin Profile: Linkedin
YouTube Channel: PowerBI Storytime

View solution in original post

1 REPLY 1
olgad
Super User
Super User

Hola,

Calculate(Sum([Valor]), PARALLELPERIOD('Date'[Date],-1,MONTH))

DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
Linkedin Profile: Linkedin
YouTube Channel: PowerBI Storytime

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors