cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Helper I

## Calculating MoM % revenues per clients and total in a chart

Hello All,

I am trying to calculate the Net revenue retention and Gross revenue retention from the following table in Power BI.

In Excel I have inserted some formula.

I want to put it in a chart, showing the months in X-axis, and %growth in Y-axis.

What is the formula in PBI I can use, knowing the fact that I can select Client name and Months in the filters.

Net revenue retention is the growth or degrowth vs previous month per client.

Gross revenue retention is the degrowth only.

Thank you.

 Client Month Revenue Net Revenue Retention Gross Revenue Retention Customer A Jan-22 100 =IF(A2=A1,((C2-C1)/C1),0) =IF(AND(A2=A1, C2
1 ACCEPTED SOLUTION
Community Champion

@youssefm9 You can create a below measure

Mom% =
var _mom = IFERROR((_cm-_pm)/_pm,0)
return
_mom

also attached is the pbix file.

Proud to be a Super User!

4 REPLIES 4
Community Champion

@youssefm9 You can create a below measure

Mom% =
var _mom = IFERROR((_cm-_pm)/_pm,0)
return
_mom

also attached is the pbix file.

Proud to be a Super User!

Helper I

Thank you @negi007  😁 Appreciated!

Super User

@youssefm9 , Refer if these can help

Customer Retention Part 1:
https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-1-Month-on-Month-Retention/b...

Time Intelligence, DATESMTD, DATESQTD, DATESYTD, Week On Week, Week Till Date, Custom Period on Period,
Custom Period till date: https://youtu.be/aU2aKbnHuWs&t=145s

Measure like these with help from date tables

example

MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))
last MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-1,MONTH)))
last month Sales = CALCULATE(SUM(Sales[Sales Amount]),previousmonth('Date'[Date]))
MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))
last MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-1,MONTH)))
last month Sales = CALCULATE(SUM(Sales[Sales Amount]),previousmonth('Date'[Date]))

Helper I

Unfortunately what you posted doesnt help.

I need to calculate the MOM %growth and be reflected if I select customers and/or months filters.

Announcements

#### Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

#### Power BI Monthly Update - June 2024

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

#### Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

#### New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors
Top Kudoed Authors