Forum Discussion

rgpsathish's avatar
rgpsathish
Frequent Visitor
2 years ago
Solved

Power BI Backlog issue DAX

Hi Experts,

 

i created the Open Task report Visualization, in this report we can see the Created, closed and backlog Task. i have one concern backlog showing more than today date as well. i dont want to see the backlog more than today date.

 

please support.

 

this is my backlog DAX:

Balance = [Created]-[Closed]

Backlog = CALCULATE([Balance],FILTER(ALL('Dates'),'Dates'[Date]<=max('Dates'[Date])&&NOT(ISBLANK('Dates'[Date]))))

 

 

 

 

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi rgpsathish ,

    Please try:

    Backlog = IF(MAX('Dates'[Date])<=TODAY(),CALCULATE([Balance],FILTER(ALL('Dates'),'Dates'[Date]<=max('Dates'[Date]))))

    There will be no blank values on the 1 side of a valid relationship.

     

    Best Regards,
    Gao

    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi rgpsathish ,

    Please try:

    Backlog = IF(MAX('Dates'[Date])<=TODAY(),CALCULATE([Balance],FILTER(ALL('Dates'),'Dates'[Date]<=max('Dates'[Date]))))

    There will be no blank values on the 1 side of a valid relationship.

     

    Best Regards,
    Gao

    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

  • JoeBarry's avatar
    JoeBarry
    Solution Sage

    Hi rgpsathish 

     

    Quickest way to achieve what you want is to

     

    • Highlight the visual
    • Go to the filter pane
    • In Date go to Relative date.
    • Choose Is in the last...
    • Select the amount of Days or Months or Years
    • Then Apply filter

    Thanks

    Joe

    • rgpsathish's avatar
      rgpsathish
      Frequent Visitor

      Hi JoeBarry ,
      Thanks for your quick reply,

       

      same filer only i applied now. but the issue iss if i select month entire month visible in Chart but value showing >today also that's my concern