This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi All,
I am working on a requirement where if a financial year is selected the Values less than equal to selected FY should sum up for all distinct categories .
For Example :
| RowNo | Category | Date | Financial Year | Amount |
| 1 | Furnitures | 10/10/2023 | 2023-24 | 500 |
| 2 | Decors | 10/09/2022 | 2022-23 | 400 |
| 3 | Furnitures | 10/05/2021 | 2021-22 | 300 |
| 4 | Paints | 12/06/2020 | 2020-21 | 200 |
| 5 | Decors | 10/05/2020 | 2020-21 | 100 |
If FY 2023-24 is selected in the filter the categories with latest dates should get aggregated
in this case row no 1,2,4 should be aggregated and if FY 2022-23 is selected row no 2,3,4 should be aggregated .
Though I am using SQL source I am restricted to use parameters and stored procs.
I am Kind of run out of ideas . Your help is appreciated
Thanks in Advance
Solved! Go to Solution.
Here the blocker for me is in running total we should consider only the category of latest FY.
Thank You So much Ibendlin .
Do you mean running totals or simple sums? What would the expected outcome look like for your two scenarios?
You get that for free in the UI, no code required. Give it a try.
I tried DAX and I am able to get the running total for all FYs but I am unable to filter out the condition which I have mentioned.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |