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.
Hello,
I have a table with this data,
DATE VALUE
1/1/16 36
2/2/16 20
...
1/1/17 67
2/1/17 45
I want create a KPI wich compare the same period of the last year with this year., that is, indicator: Value, Trend:Date and target value: Last year value.
Thank you very much.
Best regards
Solved! Go to Solution.
Hi @emiliosjlc,
Current power bi not support to create kpi, you should create it in powerpivot then import the workbook into power bi.
Reference:
Create a KPI in Power Pivot for Excel: Overview
In addition, you can use below formula to get the same period of last year value:
SP LY = CALCULATE(SUM('Fact'[Amount]),SAMEPERIODLASTYEAR('Calendar'[Date]))
Notice: calendar table has the relationship to fact table.
Regards,
Xiaoxin Sheng
Hi @emiliosjlc,
Current power bi not support to create kpi, you should create it in powerpivot then import the workbook into power bi.
Reference:
Create a KPI in Power Pivot for Excel: Overview
In addition, you can use below formula to get the same period of last year value:
SP LY = CALCULATE(SUM('Fact'[Amount]),SAMEPERIODLASTYEAR('Calendar'[Date]))
Notice: calendar table has the relationship to fact table.
Regards,
Xiaoxin Sheng
if you can give a sample data set with expected coloums in excel we can look in to it.
Yes, of course. This is my data...to 2015 until 06/30/2017
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
80 | |
67 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |