Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello,
I would like to create a visualization which shows cumulative totals of leads per week/month/year (it's a hierarchy) and per leads stage.
In columns I have snapshot dates, but in rows leads stages. what formula should I create?
I used:
Contacts = CALCULATE('Reporting HubSpotContactDataSnapshotView'[Contacts No],
Solved! Go to Solution.
Hi @Anonymous ,
You try to modify the formula to the following form:
Contacts =
CALCULATE('Reporting HubSpotContactDataSnapshotView'[Contacts No],
FILTER(All('Reporting HubSpotContactDataSnapshotView),[lifecyclestage]=MAX([lifecyclestage] &&
'Reporting HubSpotContactDataSnapshotView'[Week]<=max('Reporting HubSpotContactDataSnapshotView'[Week])))
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Anonymous ,
You try to modify the formula to the following form:
Contacts =
CALCULATE('Reporting HubSpotContactDataSnapshotView'[Contacts No],
FILTER(All('Reporting HubSpotContactDataSnapshotView),[lifecyclestage]=MAX([lifecyclestage] &&
'Reporting HubSpotContactDataSnapshotView'[Week]<=max('Reporting HubSpotContactDataSnapshotView'[Week])))
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Thank you for your help! I'm afraid the suggested solution does not work, but please find the link to the data and expected outcome.
Really appreciate that 🙂
@Anonymous ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Best way is to have week or date table and try like
Contacts = CALCULATE('Reporting HubSpotContactDataSnapshotView'[Contacts No],ALLEXCEPT('Reporting HubSpotContactDataSnapshotView','Reporting HubSpotContactDataSnapshotView'[lifecyclestage])
FILTER(allselected('Week'),'Week'[Week]<=max('Week'[Week])))
and use week from this table in visual
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.