Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
16 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
23 | |
11 | |
10 | |
10 | |
8 |