Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213916

What I Thought would be simple...I need help!

$
0
0

I would still consider myself fairly new to the Power BI world, although I have made some fabulous dashboards and reports for our company.  Most of the data I pull from the ODATA feed is already formatted and massaged to the point where I haven't had to use many complex DAX or formulas or anything along those line.  I have done a new column from measure and was able to get that syntax down, but it was a pretty simple formula.

 

Anyhow, what I am trying to accomplish seems simple, but looks like it may require some more complex configuration.  If someone could help out it would be much appreciated.

 

I am working on an AR Aging Report.  I have a column called "DaysPastDue" that is full of numbers ranging from -70 to 393.  What I am trying to accomplish is either creating a column or a hierarchy (whichever makes the most sense in this situation.  The formula would be something along these lines:

 

If DaysPastDue is <=0 then the output would be "Current"

If DaysPastDue is >=1 and <= 30 then the output would be "1-30 Days Past Due"

If DaysPastDue is >=31 and <= 60 then the output would be "30-60 Days Past Due"

If DaysPastDue is >= 61 and <= 90 then the output would be "60-90 Days Past Due"

If DaysPastDue is >=91 then the output would be "Over 90 Days Past Due"

 

I am not sure what a hierarchy really even does at this moment, but if it could be useful for this the so be it.  If it is easy to just create the formula properly I would appreciate the help.  I am stumped at this point and this shouldn't be THAT difficut.

Output would be like this

 

DaysPastDue       |          PastDueStatus

_________________________________________

 -2                       |     Current
64                       |     60-90 Days Past Due

3                         |     1-30 Days Past Due

45                       |     30-60 Days Past Due

-47                      |     Current

0                         |     Current
97                       |     Over 90 Days Past Due

 

 

And so on.....


Viewing all articles
Browse latest Browse all 213916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>