Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
MagisKoen
Frequent Visitor

How to add custom end-user calculations to a dashboard

Hi all,

 

For a financial dashboard I have this matrix table with ledger accounts (i.e. income and expenses) and financial periods (i.e. 2021, 2022). Now, for the use of the dashboard it is desired to add small calculations. For example it is seen that the income of 2021 was 100k, and for 2022 up untill this point it could be 90k. I want the end-user to add to the 90k everything that is still expected in 2022 for them to make a proper comparison. 

 

The solution I found was to add a table ranging from -1m till +1m and make the addition part a slicer which adds the proper value to the ledger using a measure. This works but becomes rather expensive for the computing power of the report when having 15 of these tables. I have made minor perfomance upgrades (reducing the size by discarting the decimals, trying to combine some tables, ...), yet, this does not solve the computational size problem.

 

The question: is there an other way to incorperate basic (custom) calculations? To have the end-user give input to a measure would be everything i could ask for.

 

Thank you in advance.

 

Koen

1 ACCEPTED SOLUTION
MagisKoen
Frequent Visitor

Nevermind, I found it myself! 

 

I was looking for the what-if parameters. Using a slicer this can be included in a measure as well!

 

Thanks for the thoughts everyone.

View solution in original post

2 REPLIES 2
MagisKoen
Frequent Visitor

Nevermind, I found it myself! 

 

I was looking for the what-if parameters. Using a slicer this can be included in a measure as well!

 

Thanks for the thoughts everyone.

amitchandak
Super User
Super User

@MagisKoen , The solution might not be simple, I used extended dimension for the same , to have custom totals

 

Power BI How to get the P&L formatting right: https://youtu.be/C9K8uVfthUU

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.