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
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.