Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in BI by (11.1k points)

In Power Bi I am building a aging report with 30,60,90 and 120 buckets everything works fine until I sorted the report into buckets.So when I enter as a date in slicer it should balance accordingly and balance should display in  appropriate bucket.

So How can I able to solve this?

1 Answer

0 votes
by (22.5k points)

Use the following measure:

From 01 to 29 days = CALCULATE([Due Amount]
,FILTER('BDW Account Receivable',DATEDIFF(min(Calender[Date]),'BDW Account Receivable'[DueDate],DAY)>-30 
                              && DATEDIFF(min(Calender[Date]),'BDW Account Receivable'[DueDate],DAY)<0))

Want to learn more about Power BI? Check out today: Power BI course     

Related questions

0 votes
1 answer
0 votes
1 answer
asked Sep 15, 2021 in BI by dev_sk2311 (45k points)
0 votes
1 answer
asked Aug 25, 2021 in BI by dev_sk2311 (45k points)
0 votes
1 answer
asked Jun 30, 2021 in BI by dev_sk2311 (45k points)

Browse Categories

...