Forum Discussion
Working with What If Parameters
Hi everyone,
I'm pretty new to Power BI and trying to set up a what if parameter for churn. The churn definition is that if an order has not been placed in over 90 days, that account has churned. There is data for 5 years in the dataset. I created a what if parameter called 'Has_churned' with the following -
2 Replies
- amitchandakSuper User
Anonymous , to me, seem like you need these value as a parameter too, in that case, you have to create an independent table with these two values and then join them in measure
example
Sumx(filter(values(Customer[Customer]) , [has_churned_test] = max(churned_table[Value])), [Amount] )
Customer is grouping, Value Is measures. churned_table table has those two values as row
refer
Dynamic Segmentation Bucketing Binning
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1387187#M626
Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k- AnonymousNot applicable
amitchandakThank you so much for sharing that!
The thing is, I'd like the user to select the churn value, i.e., Has_churned[Has_churned Value] is the slicer that they'd be able to change and see how revenue changes.
If I create a separate table, in this calc from your reply, max(churned_table[Value])), [Amount] ), what is 'Amount'?