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.
Hi Everyone,
I was hoping someone could help me with a part of the formula to get me to my end goal.
Issue:- Im facing issue with Matrix header dates. FYI,Please find the below attached figure. I selected exported date is 10/21/2022, my matrix header shows data starting from 10/17/2022. I dont want that.
* Requirement:- My requirement is, when im selecting exported date as 10/21/2022 then my matrix header dates started from 10/21/2022 onwards.FYI, Please find the below attached figure.
Please find the below link for sample data.
@amitchandak, @Greg_Deckler , @Jihwan_Kim @lbendlin
Solved! Go to Solution.
@Anonymous , You can use after slicer
Or you can have date slicer of an independent date table and then have measure like
//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))
Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI
Hi, @Anonymous
For your need , you can use measure to replace the value in your Matrix.
My test is the same as you provided.
We can create a measure :
Measure = var _slicer = MAX('Exported'[Exported_Date])
var _current_date = SELECTEDVALUE('Sheet2'[Exported_Date])
return
IF(HASONEVALUE('Sheet2'[Exported_Date]),IF(_current_date>= _slicer ,SUM('Sheet2'[Ones]),BLANK()),SUM('Sheet2'[Ones]))
Then we can put the measure the field we need on the visual and we will meet your need:
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
@Anonymous , You can use after slicer
Or you can have date slicer of an independent date table and then have measure like
//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))
Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI
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 |
---|---|
109 | |
96 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
88 | |
63 |