Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Aging Totalization for Matrix Report

Hi, i am creating a Report about open orders and i want to create a matrix totallized by Division ( PLC) and after that by Age of the orders ( days from order to actual date).

The Age schema is the following [ 1-3/3-7/7-15/15-30/30-60/60-90/90+]

 

I have calculated the days from order date to todays date with this measure

I have created a measure that assign this Orders age schema 

So the result in a normal table is this

But when i try to set it up in the Matrix visualization, Power Bi dont allow me to add the Agign result to the rows field so i cant set it up this way

How can i get the Measure Result to allow me do it?

Please help

Thanks in advance for your help

 

  • Stachu's avatar
    Stachu
    6 years ago

    it's missing else in the last if, you can change it from 

    you can remove the last row and add "90+" as else variant for the previous one

7 Replies

  • Stachu's avatar
    Stachu
    Community Champion

    in order to display something in rows it has to be in a column, cannot be in a measure. So basically you need a column that would have values like '90+ days', '60-90 days' etc.

    • Anonymous's avatar
      Anonymous
      Not applicable
      Hi, Thanks for your response, finally i managed to set the days count from order date to todays date using the duration option at Edit Query/Transform son is not a measure anymore but still looking for translate the amount of days to the classification i need to totalize, any suggestion? I'm thinking to insert it from an excel file or create a conditional column with all the values, with this second option i don't get the expected result 1-3 3-7 7-15 15-30 30-60 60-90 90+ Thanks
    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Again, i ave tried to create a Custom Colum with this  configuration, but looks like i am missing something that dont allow me to apply it.  Any Suggestion?

       

      I also added (  and , to split each if  and colse all ) at the end of the formula but same result

       

       

      • Stachu's avatar
        Stachu
        Community Champion

        it's missing else in the last if, you can change it from 

        you can remove the last row and add "90+" as else variant for the previous one