Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi guys!
I'm building the following measure:
Last30Days =
IF(
DATEDIFF('Product Properties' [Last inventory date], 'Product Properties'[Report Date],DAY) <=31,
TRUE(),
FALSE()
)
And I obtain the following error: It is impossible to determine a unique value for the "Last inventory date" column in the "Product Properties" table.
Could someone help me with this error?
Thanks!
The reason is that, the last inventory date may have repeated values.. I think you can wrap it with MAX to handle this
User | Count |
---|---|
102 | |
88 | |
78 | |
71 | |
69 |
User | Count |
---|---|
113 | |
99 | |
97 | |
72 | |
68 |