Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
I'm looking for a solution where a matrix displays data until the selected month on the slicer
Picture says it all:
For example if select November, I want to see the data until November month & overall sum in total column until november
Solved! Go to Solution.
@bhavana097 , Ideally it should be month year coming from an independent date table
when it month year from date table
//Date1 is independent Date table, Date is joined with Table
new measure =
var _max = maxx(allselected(Date1),Date1[Date])
return
calculate( sum(Table[Value]), filter('Date', 'Date'[Date] <=_max))
when it only the month name and date table having month number too
//Date1 is independent Date table, Date is joined with Table
new measure =
var _max = maxx(allselected(Date1),Date1[Month no])
return
calculate( sum(Table[Value]), filter('Date', 'Date'[Month no] <=_max))
@bhavana097 , Ideally it should be month year coming from an independent date table
when it month year from date table
//Date1 is independent Date table, Date is joined with Table
new measure =
var _max = maxx(allselected(Date1),Date1[Date])
return
calculate( sum(Table[Value]), filter('Date', 'Date'[Date] <=_max))
when it only the month name and date table having month number too
//Date1 is independent Date table, Date is joined with Table
new measure =
var _max = maxx(allselected(Date1),Date1[Month no])
return
calculate( sum(Table[Value]), filter('Date', 'Date'[Month no] <=_max))
User | Count |
---|---|
98 | |
90 | |
78 | |
72 | |
65 |
User | Count |
---|---|
114 | |
98 | |
96 | |
68 | |
67 |