Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
ivandelgra
Helper I
Helper I

How to count attribute changes in data set and then compare them YoY

Hello I have this dataset:

 

ID PERSONCARD TYPESUBSCRIPTION YEAR
AFREE2018
APREMIUM2019
BPREMIUM2018
BPRO2019
CFREE2018
CPRO2019
DFREE2018
DPRO2019

 

I would like to know for each year (e.g. 2018 vs 2019) how many subscribers have changed their plan (grouped by subcription plan).

 

Below an example of the desired output (of course it would be ok any kind of other visualizations showing the same result)

Powerbi forum.png

 

 

2 REPLIES 2
dax
Community Support
Community Support

Hi @ivandelgra , 

It seems that there is no visual is like your expected output, and it seems that your result will based on previous year . I  have no idea about this currently, and I just get result like below

634.PNG

I think I need to discuss this with other people, and I will inform you as soon as I get it.

Thanks for your understanding and support.
Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

In some posts I have read about EARLIER capability. Is this a case in which EARLIER function can help?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.