Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello,
The KPI shows different disances when I automate indicator and target. But when I set them manually, it shows a correct distance. Please tell me where my mistake is.
Input data:
I have a table with prices which update weekly. In KPI I need to show the last day price as an indicator and the first day price as a target. The KPI difference will be a subtraction between the last day and the first day.
There are also filters on this visual: a slicer " Delivery date" and a visual filter " Product used in charts"
1) in this measure I set dates manually and it shows the difference correctly:
But every week I need to enter new dates manually, so I decided to automate.
2) So I changed DAX:
KPI shows a difference = 0.
Where is my mistake?
cahnge MAXX > MAX & MINX > MIN hope it will work
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
Thank you.
1) It DID NOT work:
2) I noticed, that the difference is not calculated correctly, because Target measure cannot detect the last day automatically. Hence it must be written like this, manually:
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
113 | |
81 | |
45 | |
42 | |
27 |
User | Count |
---|---|
182 | |
83 | |
70 | |
48 | |
45 |