• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Get the MoM revenue data for the customers who are not present on particular month

unnikrish

New Member
Hello All,

I have a revenue table in my report which will have MoM revenue for all customers. out of this i have created a calculated table using the formula below.

Annual NRR = SUMMARIZE(Revenue,Revenue[date],Revenue[Reseller Name],"Revenue", sum(Revenue[amount]))

In the calculated table, i am calculating revenue 11 months back for each customer using the below formula.

Revenue_PY = CALCULATE(SUM(Revenue[amount]), filter(Revenue,Revenue[Reseller Name]='Annual NRR'[Reseller Name] && Revenue[date]=dateadd('Annual NRR'[date],-11,MONTH)))

i have created a matrix visual to show my data MoM as below.

FebMarApr
ResellerRevenueRevenue_Last yearRevenueRevenue_Last yearRevenueRevenue_Last year
ABC334236835334236835334236835
XYZ208053559920805355992080535599
RSTY419142074191420741914207
KJLI100411825710041182571004118257

Problem here is, there are few customers who had revenue till last year but now been removed from the system. for example, customer PGA had revenue on Apr-2021 but after that they removed from the system. So on the report this customer should appear on Mar-2022 data as below.

Mar
ResellerRevenueRevenue_Last year
PGA 20000

Since this customer is removed after Apr-2021, its will not satisfy the condition "Revenue[Reseller Name]='Annual NRR'[Reseller Name] && Revenue[date]=dateadd('Annual NRR'[date],-11,MONTH)". Because of this i am not able to see this customer in Mar-22 data even though they have created revenue last year.

Please advise is there a way we can show the customers who had revenue 11 months back even though they have not present in the system now.
 
From quick looks. You don't really need that condition "Revenue[Reseller Name]='Annual NRR'[Reseller Name] . However, you should have Reseller dimension table tied to your table(s) and use the dimension table's Reseller Name as source of your Reseller field in Matrix visual.
 
Back
Top