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.
Hey All,
I have a table with the following columns
NAME | DATE | DAYS TO REVIEW = DATEDIFF(TODAY(),'TABLE'[Date],DAY)
All seems to work as expected.
Just one record shows a wrong calculation.
How is this possible? Can someone explain this issue? How can I fix it?
Example from today 24/05/2019. The marked record shold show 9 or 10 while it is showing 18.
Other records show correct numbers.
Cheers!
A
Solved! Go to Solution.
Hi @Anonymous
This is due to Power BI being a aggregation tool.The column could be summarized by 'Sum' for the same name.
For example:
First way:You may choose 'Don't summarize' for the column (DAYS TO REVIEW).
Second way,you may create a measure:
Measure = DATEDIFF(TODAY(),MAX('Table'[date]),DAY)
Regards,
Hi @Anonymous
This is due to Power BI being a aggregation tool.The column could be summarized by 'Sum' for the same name.
For example:
First way:You may choose 'Don't summarize' for the column (DAYS TO REVIEW).
Second way,you may create a measure:
Measure = DATEDIFF(TODAY(),MAX('Table'[date]),DAY)
Regards,
Hey @v-cherch-msft
Thanks for pointing out the issues.
How come it did not affect all records? Just one was off...
Cheers!
A
Hi @Anonymous
The same rows as above(same names) would be effected.
Regards,
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 |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |