Forum Discussion
DDMatador
3 years agoRegular Visitor
Payout Date Help
Howdy, I am new to Power Bi and wanting to figure out how to determine a payout date. Hence the first [OUTDATE] when the Rolling CF is greater than 0. I have attempted this on my ow...
- 3 years ago
Okay, it should work. Here is another way.
Payout Date = MINX(FILTER(ALL('Mon-Forecasts'),'Mon-Forecasts'[Payout Date_Filter]=1),'Mon-Forecasts'[OUTDATE])
BrianConnelly
Resolver III
3 years agoModifiy your code and use ALL function.
FILTER(ALL('Table1'),Table1[Payout Filter]=1))
DDMatador
3 years agoRegular Visitor
Sorry I just realized I hadnt added that part. Here is what is generated now after updating.
Payout Date = CALCULATE( MIN( 'Mon-Forecasts'[OUTDATE] ), FILTER(ALL('Mon-Forecasts'),'Mon-Forecasts'[Payout Date_Filter]=1))
- BrianConnelly3 years ago
Resolver III
Okay, it should work. Here is another way.
Payout Date = MINX(FILTER(ALL('Mon-Forecasts'),'Mon-Forecasts'[Payout Date_Filter]=1),'Mon-Forecasts'[OUTDATE]) - DDMatador3 years agoRegular Visitor
Still not working, thank you for sticking it out haha.
Payout Date = MINX(FILTER(ALL('Mon-Forecasts'),'Mon-Forecasts'[Payout Date_Filter]=1),'Mon-Forecasts'[OUTDATE]) - BrianConnelly3 years ago
Resolver III
Not a problem. At this point, your going to need to show table structures and relationships. Both these measures should have worked as I tested them with mock data as shown in my screenshot.
Is your OutDate a text string or a Date?
- DDMatador3 years agoRegular Visitor
It is a Date.