Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I have a dataset which have columns as follows:
And I would like to present count of customers by date along with the count value from same day on previous month as follows:
I tried to write down the measure for that, but unfortunately, it displays the summed value regardless of the category.
I have a calendar table & database table in the model.
Could you please help me with writing proper measures?
Thank you!
Solved! Go to Solution.
@Anonymous , Try a month behind measure like given example with help from date table
Month behind Sales = CALCULATE(SUM(Sales[Sales Amount]),dateadd('Date'[Date],-1,Month))
@Anonymous , Try a month behind measure like given example with help from date table
Month behind Sales = CALCULATE(SUM(Sales[Sales Amount]),dateadd('Date'[Date],-1,Month))
User | Count |
---|---|
98 | |
90 | |
82 | |
73 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
67 |