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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

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
November Carousel

Fabric Community Update - November 2024

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

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.