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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Syndicate_Admin
Administrator
Administrator

Compare la medida de ingresos actual con el último mes del último año fiscal

Hola expertos de PBI,

Necesito ayuda para crear una medida para el último mes del último año fiscal que se comparará con el mes actual.

Por ejemplo, nuestro año fiscal es de abril a marzo

para mayo-2023, los ingresos se compararán con Mar-2022. Del mismo modo, para abril-2024, los ingresos se compararán con Mar-2023

Avíseme si necesita más explicaciones sobre mi solicitud aquí.

Gracias

Komal

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@KC03 , Pruebe medir como

El mes pasado FY =
var _max = if(isfiltered('Date'),MAX( 'Date'[Date]) , today())
var _min = if(mes(_max) <4, Fecha(año(_max)-1,4,1) ,Fecha(año(_max),4,1) )
var _max1= _min -1
var _min1 = eomes(_max1,-1)+1
devolución
calculate([net],DATESBETWEEN('Date'[Date],_min1,_max1))

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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