Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
Is it possible to create a measure of stacked column based on due age with these criteria plus showing the invoice amount?
- less than 32days
- less than 31 days
- within 31-60 days
- within 61-90 days
- within 91-120 days
- over 120 days
//NT
Solved! Go to Solution.
Hi, @tksnota
Based on your information, I create a table:
You can create a calculate column and try the following DAX:
Due Age Category =
SWITCH (
TRUE (),
'Table'[Invoice Age] <= 31, "Less than 32 days",
'Table'[Invoice Age] <= 60, "31-60 days",
'Table'[Invoice Age] <= 90, "61-90 days",
'Table'[Invoice Age] <= 120, "91-120 days",
'Table'[Invoice Age] > 120, "Over 120 days"
)
Here is my preview:
How to Get Your Question Answered Quickly
Best Regards
Yongkang Hua
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @tksnota
Based on your information, I create a table:
You can create a calculate column and try the following DAX:
Due Age Category =
SWITCH (
TRUE (),
'Table'[Invoice Age] <= 31, "Less than 32 days",
'Table'[Invoice Age] <= 60, "31-60 days",
'Table'[Invoice Age] <= 90, "61-90 days",
'Table'[Invoice Age] <= 120, "91-120 days",
'Table'[Invoice Age] > 120, "Over 120 days"
)
Here is my preview:
How to Get Your Question Answered Quickly
Best Regards
Yongkang Hua
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
thanks. it worked
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.