Forum Discussion

DDMatador's avatar
DDMatador
Regular Visitor
3 years ago
Solved

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 own with the following formula. I only want the first date that it is positive to appear (in this case 07/2023)

 

Payout Date = CALCULATEMIN( [OUTDATE] ), FILTER( [Payout Date_Filter] > ))

 

  • Okay, it should work. Here is another way.

     

    Payout Date = MINX(FILTER(ALL('Mon-Forecasts'),'Mon-Forecasts'[Payout Date_Filter]=1),'Mon-Forecasts'[OUTDATE])

11 Replies

  • Here is the code you need, you almost have it.

    Payout Out Measure:=CALCULATE( MIN( [OUTDATE] ), FILTER('Table1',Table1[Payout Filter]=1))
    • DDMatador's avatar
      DDMatador
      Regular Visitor

      Doesnt appear to be working properly. Here is the return. 

       

       

       

       

       

      • BrianConnelly's avatar
        BrianConnelly
        Resolver III

        Are you using a calculated column or a measure?  And by not working, can you explain what you are expecting as a result?

         

        You could use 

        Payout Out Measure:=CALCULATE( MIN( [OUTDATE] ), FILTER(ALL('Table1'),Table1[Payout Filter]=1))

         

        Worked as a measure...