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.
Hello All ,
I need your help with below measure . I want to display the sum of sales between start date and end date as below but somehow iam not able to get desired result.
Measure=
var a=selectedvalue(DateTable[Date])
var b=a-6
var c=calculate(Sum(Data[sales]),DATESBETWEEN(Data[Approval Date],b,a)
return c
some how i was able to get sales only for end date a.
Please help with the solution for this.
TIA
Solved! Go to Solution.
HI @Anonymous ,
Check the table relationship, when there is a relationship between the data table and the date table, the measure is invalid.
And you could download my pbix file to check your file.
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
HI @Anonymous ,
Check the table relationship, when there is a relationship between the data table and the date table, the measure is invalid.
And you could download my pbix file to check your file.
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
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 | |
97 | |
79 | |
73 | |
56 |
User | Count |
---|---|
145 | |
105 | |
104 | |
90 | |
63 |