Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi everyone! I'm currently having a weird issue. I've made the following parameters to create a KPI which does this:
In one side you have last month avg sales $, calculated by the n of days from the last month:
First case is -0.7 which is critical, wrong since it has to count from -0.20. But what kills me is that 0.67 is Critical and 0.8 is OK. Its boggling me for sure. Do you have any tips for this?
Thanks!
Hi, @Matias_Tiberio
Are these two tables related? I don't know the specific situation. You may need to modify these two codes to make them constant (it can still change after each refresh or open).
Can you share some sample data and more datails? So I can check if it has a workaround.
Best Regards,
Community Support Team _ Janey
Hi:
Are you able to try this for month to date avg sales? You can sub in your name for DateTable[Date] where I have Dates[Date]..
Facturacion_act = SUM('Mes actual'[FACTURACION])
MTD Facturacion_act = CALCULATE(Average([Facturacion_act] ),DATESMTD('Date'[Date]))
LY MTD = CALCULATE([Facturacion_act], SAMEPERIODLASTYEAR(Dates[Date])
Then do your measures for the difference as a percent?
Hi! Yes, kind of, instead of that (since it was already built in this way by other member) I'm using the same FACTURACION metric from two different queries, one from last month and one from the current one. Then there's the calculation of the difference as a percent.
User | Count |
---|---|
47 | |
26 | |
22 | |
17 | |
15 |
User | Count |
---|---|
55 | |
34 | |
18 | |
17 | |
15 |