Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Power BI Community,
Currently, I have data feeding into Power BI from PeopleSoft via Direct Query. How can I create an aging schedule of open Purchase Orders using the PO Date?
Regards,
Gus Dahu
Hi @gusdahu,
Could you please mark the proper answers as solutions?
Best Regards,
Dale
Hi @gusdahu,
What's Aging Schedule exactly? Can you share a dummy sample that will show up the data structure?
Best Regards,
Dale
Hi v-jiascu-sft,
In my situation, an aging schedule will classify Open Purchase Orders (POs) into buckets to reflect the number of days the PO has been outstanding. The buckets will be something like 0-30 days, 31-60 days, 90 plus days, etc. Currently the data set population has the following fields:
How would I be able to classify POs based off PO date into the buckets mentioned above? Keep in mind that I am using Direct Dequel and thus will not be able to use the "Edit Query" function or conditional formatting.
Regards,
Gus Dahu
Hi Gus Dahu,
Firstly, I would make it clear that we can use Direct Query and Import together now since the preview of power-bi/desktop-composite-models.
Now, everything seems easy. If you want to filter the buckets, you need to create a new table. If you just want to give every PO a label, please try a measure like below.
Measure =
VAR temp =
DATEDIFF ( MIN ( [HIRE_DATE] ), TODAY (), DAY )
RETURN
IF (
temp >= 0
&& temp <= 30,
"0-30",
IF ( temp >= 31 && temp <= 60, "31-60", ">=61" )
)
Best Regards,
Dale
Hi,
I'm getting stuck on the second part of your DAX formula. For some reason my dax formula bar is not auto populating when I begin to type the "return if" statement. Any suggestions?
Regards,
Gus Dahu
Hi @gusdahu,
I guess you missed the ")" in the formula. We should close every part of the formula to keep it complete. Please check it out.
Best Regards,
Dale
Hi v-jiascu-msft,
I added the ")" and unfortunately it did not work. Any other suggestions?
Regards,
Gus Dahu
Can you share some snapshots or the file? @gusdahu,
Best Regards,
Dale
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 32 | |
| 27 | |
| 25 |