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
macinr
Helper I
Helper I

Simulating user base growth

Hi,

I am trying to model user base growth.

 

I have created a table with 60 periods

Periods table = GENERATESERIES(1, 60, 1)

 

I have defined a parameter named growth rate:

p_Users growth rate = GENERATESERIES(0.5, 2, 0.1)

 

In my assumption I decide to have a target of X number of users each month, eg. 1000.

 

How should I construct the measure, which shows:

- the sum of users per period, I want 

current period users = previous period users + growth rate * target

 

Why do I want to do that in measure? Because I want to use dynamic slicers to play around with multiple values.

Thanks for help

All the best

Marcin

 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @macinr,

AFAIK, power bi does not support dax formulas to do recursive calculation based formula its previous calculation result with current values.

Perhaps you can take a look at the following blog to use EXP and LN functions to calculate out current rate to achieve your requirement:

Recursive Calculations in PowerPivot using DAX 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

3 REPLIES 3
v-shex-msft
Community Support
Community Support

HI @macinr,

AFAIK, power bi does not support dax formulas to do recursive calculation based formula its previous calculation result with current values.

Perhaps you can take a look at the following blog to use EXP and LN functions to calculate out current rate to achieve your requirement:

Recursive Calculations in PowerPivot using DAX 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
aj1973
Community Champion
Community Champion

Hi @macinr 

Not easy to use a meaure directly into a slicer. I recommend this

https://community.powerbi.com/t5/Desktop/Cannot-use-measure-in-slicer/td-p/166909

 

Good luck

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Hi, 

The problem is not using the measure in slicer, but how to build a meausre. I already have a parameter and that parameter works well in slicer, yet am struggling to build a measure, which is kind of a generated series.

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.