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
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
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.