The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Folks -
Im looking for a solution to something I would imagine to be very simple. Please help!
In the below screenshot you will see a visual which illustrates when specific product's inventory levels go to 0. Once 0, another column starts to calculate "Days not Allocated". I would like to retrieve the LASTDATE that SKU had a Days Not Allocated of 0.
For the selected SKU that date would be 5/27/2020.
If anymore information is need please let me know.
Thanks!
Solved! Go to Solution.
@AlexAlberga727 - Perhaps:
Measure = MAXX(FILTER('Table',[Avail Qty] > 0),[Date])
If a column. If a measure, create a table variable that represents the data in your visual (summarized by date for instance, use ADDCOLUMNS to add your measure, do your MAXX over that table variable.
Try the following:
measure = CALCULATE(LASTDATE(Table[Date]), [DaysNotAllocated] = 0)
If my answer resolves your issue, please give Kudos and mark as solution.
Thank you
@AlexAlberga727 - Perhaps:
Measure = MAXX(FILTER('Table',[Avail Qty] > 0),[Date])
If a column. If a measure, create a table variable that represents the data in your visual (summarized by date for instance, use ADDCOLUMNS to add your measure, do your MAXX over that table variable.
User | Count |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |