Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
I have a measure that calculates forecasted amount.
Forecasted Amount = VAR percentage = Divide(SUM('Credit Memo + Invoice'[Amount]), calculate(SUM('Credit Memo + Invoice'[Amount]), allselected()) ) RETURN
SUM('Forecast Totals (GS)'[Forecast])* percentage
In a table it looks like this:
As you can see on May we have the value 329.08, however, when I add a filter on May I get the total value.
How can I make sure that this doesn't change and that it display 329.08 like before the filter?
Solved! Go to Solution.
Hi @Niels_T ,
Please update the formula of your measure [Forecasted Amount] as below and check whether it can get the correct result...
Forecasted Amount = VAR percentage = DIVIDE ( SUM ( 'Credit Memo + Invoice'[Amount] ), CALCULATE ( SUM ( 'Credit Memo + Invoice'[Amount] ), ALL ( 'Credit Memo + Invoice' ) ) ) RETURN SUM ( 'Forecast Totals (GS)'[Forecast] ) * percentage |
If the above one can't help you get the desired result, please provide some sample data in the table 'Credit Memo + Invoice' and 'Forecast Totals (GS)' (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Hi @Niels_T ,
Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.
Best Regards
Hi @Niels_T ,
Please update the formula of your measure [Forecasted Amount] as below and check whether it can get the correct result...
Forecasted Amount = VAR percentage = DIVIDE ( SUM ( 'Credit Memo + Invoice'[Amount] ), CALCULATE ( SUM ( 'Credit Memo + Invoice'[Amount] ), ALL ( 'Credit Memo + Invoice' ) ) ) RETURN SUM ( 'Forecast Totals (GS)'[Forecast] ) * percentage |
If the above one can't help you get the desired result, please provide some sample data in the table 'Credit Memo + Invoice' and 'Forecast Totals (GS)' (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
- use your own Calendar table
- use ISFILTERED to inquire if the month is currently being filtered, and FILTERS to see what the filter value is.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
90 | |
88 | |
83 | |
64 | |
49 |
User | Count |
---|---|
127 | |
108 | |
87 | |
70 | |
66 |