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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
franorio
Helper III
Helper III

Help with KPI´s formulas for accounting liabilities against previous periods

Hi guys how are you?

i'm currently working in in a car infractions report. The idea is to be able to have several indicators referring to the administration of the company car fleet. I'm using slicers, and already hace some KPIs for the accumulated, accumulated for the current year, per infraction category, top 10 users with more infractions, top 10 places where infractions are made, etc. 

 

An infraction is always an accounting liability, could you please help me cracking some formulas. The idea is to show a trend, if the quantity or the amount in $ is increasing or decreasing against previous periods. Which formulas and KPI visualizations do you recommend?

 

Column TOTAL is the column where the amounts of the fines are shown, ISSUED_DATE, the date when infractions were made.

 

Thanks!!!

 

CLIENT_IDRECORD_IDFINE_IDSCRAPE_DATEPLATE_NUMBERTOTALINTERESTSLOCATIONSTATUSPOINTSREASONISSUED_DATEISSUED_HOURPROVINCEDESCRIPTIONMonth NameMonthCateoria Infracción
DEMOQ1752639969002/7/18 17:26AA330OH$ 1.3000CHIVILCOY 16350Estac. lugar prohib./forma indebida/antirreglamentaria10 de abril de 201810:54CABAT: Acta de Transito - Pago VoluntarioAbril4Estacionar Indebidamente
DEMOE0018439469002/7/18 17:36AB503WL$ 1.3000AV. GENERAL PAZ0Estac. lugar prohib./forma indebida/antirreglamentaria12 de enero de 201809:42CABAT: Acta de Transito - Pago VoluntarioEnero1Estacionar Indebidamente
DEMOQ1699853169002/7/18 17:36AB503WL$ 1.3000TUYUTI 72520Estac. lugar prohib./forma indebida/antirreglamentaria16 de enero de 201808:01CABAT: Acta de Transito - Pago VoluntarioEnero1Estacionar Indebidamente
DEMOQ1710934669002/7/18 17:36AB503WL$ 1.3000CARRERAS, SEGUNDO IÑIGO 72450Estac. lugar prohib./forma indebida/antirreglamentaria23 de enero de 201808:03CABAT: Acta de Transito - Pago VoluntarioEnero1Estacionar Indebidamente
DEMOE0001894569002/7/18 17:46ANW444$ 1.3000FERRE 3100 0Estac. lugar prohib./forma indebida/antirreglamentaria26 de octubre de 201710:38CABAT: Acta de Transito - Pago VoluntarioOctubre10Estacionar Indebidamente
DEMOE0018618969002/7/18 17:46ANW444$ 1.3000FERRE 2100 0Estac. lugar prohib./forma indebida/antirreglamentaria12 de enero de 201811:20CABAT: Acta de Transito - Pago VoluntarioEnero1Estacionar Indebidamente
DEMOB1615156369002/7/18 17:47AQB348$ 1.3000PARAGUAY 23000Estac. lugar prohib./forma indebida/antirreglamentaria17 de julio de 201512:08CABAT: Acta de Transito - Pago VoluntarioJulio7Estacionar Indebidamente
DEMOB1650444269002/7/18 17:47AQB348$ 1.3000BOLIVAR 0Estac. lugar prohib./forma indebida/antirreglamentaria11 de octubre de 201617:03CABAT: Acta de Transito - Pago VoluntarioOctubre10Estacionar Indebidamente
DEMOC0032781969002/7/18 17:47AQB348$ 1.3000LA RIOJA 12860Estac. lugar prohib./forma indebida/antirreglamentaria4 de noviembre de 201513:40CABAT: Acta de Transito - Pago VoluntarioNoviembre11Estacionar Indebidamente
DEMOQ1747994369002/7/18 17:47AQB348$ 1.3000SAN JUAN AV. 30010Estac. lugar prohib./forma indebida/antirreglamentaria15 de marzo de 201810:19CABAT: Acta de Transito - Pago VoluntarioMarzo3Estacionar Indebidamente
DEMOE0036622969002/7/18 17:50BEQ469$ 1.3000AV. ESPAÑA 20530Estac. lugar prohib./forma indebida/antirreglamentaria19 de abril de 201813:01CABAT: Acta de Transito - Pago VoluntarioAbril4Estacionar Indebidamente
DEMOB1583123369002/7/18 17:52BMR903$ 1.3000PTE ROQUE SAENZ PEÑA, AV.  5300Estac. lugar prohib./forma indebida/antirreglamentaria12 de noviembre de 201410:00CABAT: Acta de Transito - Pago VoluntarioNoviembre11Estacionar Indebidamente
DEMOB1602829069002/7/18 17:53BPZ307$ 1.3000MANUEL GARCIA  3470Estac. lugar prohib./forma indebida/antirreglamentaria24 de abril de 201510:24CABAT: Acta de Transito - Pago VoluntarioAbril4Estacionar Indebidamente


 

1 ACCEPTED SOLUTION
v-jiascu-msft
Employee
Employee

Hi @franorio,

 

Please try out the demo in the attachment that is based your descriptions here. If you need some adjustments, please provide more details.

1. A date table is needed.

2. Create a measure which will compare this month to last month.

Measure =
SUM ( Table1[TOTAL] )
    - CALCULATE ( SUM ( Table1[TOTAL] ), PREVIOUSMONTH ( 'Calendar'[Date] ) )

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-jiascu-msft
Employee
Employee

Hi @franorio,

 

Could you mark the proper answer as a solution, please?

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-jiascu-msft
Employee
Employee

Hi @franorio,

 

Please try out the demo in the attachment that is based your descriptions here. If you need some adjustments, please provide more details.

1. A date table is needed.

2. Create a measure which will compare this month to last month.

Measure =
SUM ( Table1[TOTAL] )
    - CALCULATE ( SUM ( Table1[TOTAL] ), PREVIOUSMONTH ( 'Calendar'[Date] ) )

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.