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

Get 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

Reply
NicolasD
Frequent Visitor

What-If Paramater is not inclouded in Total of Column

Hi Everyone, 

 

I hade made 2 What if Paramater.

1. is a Number which should show a monthly minimum fee

2. is a percentage, which will calculate a Kommission based on a dataset.

 

If the Kommission is lower than the minimum fee, the minimum fee should be take in calculation, if not use the Kommission:

 
 

image.png

 

So the IF- Paramater in "Minimum or Online Kommission" is:

Minimum or Online Kommission = IF([0001 Calculated Online Kommission]<'0003 Minimum Fee'[Fix Amount-Wert],[Fix Amount-Wert],[0001 Calculated Online Kommission])
So in May, the online Kommission is smaller and correltcy he shows the 1000,- Euro Minimum Fee in the right Column, but not updated the total on the buttom. Which also leads in the result, that it doesnt calculate with this What if at all.... Any Ideas or do i understant ssomething completely wrong here?


Thanks for any help-.
2 REPLIES 2
Mariusz
Community Champion
Community Champion

Hi @NicolasD 

 

It looks like you are calculating column ( columns are not dynamic and will execute only on a load of the model ), if you want to have a dynamic output then create a measure.

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

Hi @MariusC ,

 

all Columns you see are actually Meassures.

The Issue is only, that it doesn't or include the Meassures correctly in a caclulation. 

 

NicolasD_0-1594118622561.png

 

0001 Calculated Online Kommission =
[Active Resa] * '0002 Online Kommission'[Variable-Wert]
 
Minimum or Online Kommission = IF([0001 Calculated Online Kommission]<'0003 Minimum Fee'[Fix Amount-Wert],[Fix Amount-Wert],'0002 Online Kommission'[Variable-Wert])
 
Summe of New Invoice = IF([0001 Calculated Online Kommission]<'0003 Minimum Fee'[Fix Amount-Wert], [Fix Amount-Wert], [Active Resa] * '0002 Online Kommission'[Variable-Wert])
 
So what Meassure must i create to get a correct Total of Summe of New Invoice?
The 1000 in May is also defined as number, it exchanged the value correctly but meassure then with the Value from May in 0001 Calculated Online Kommission instead of the 1000,- Euro? and i don't understand why...;(

Thank you

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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

Top Solution Authors