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
chrismark176
Frequent Visitor

Year over year Survey comparison

Good morning!

 

I have some survey data (An guest perception survey we do each year for a large event we host) we have been tracking and are now looking to do a YOY comparison to see where we are trending. The current data is set up like this:

 

Data page.png

There is also a column which identifies the year the survey was taken.

 

I want to be able to analyze each of these columns by year on an individual level, and comparing the percent total of each year to identify positive and negative trends Year over Year.

 

Each column is a question in the survey I want to analyze at all three levels: 2016, 2017, and YoY

 

Is there one DAX expression I can use to create graphs for each column? Or do I need an expression for each column I wish to analyze?

 

 

4 REPLIES 4
v-chuncz-msft
Community Support
Community Support

@chrismark176,

 

You may select Unpivot Columns in Query Editor.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you @v-chuncz-msft

 

Could you be more specific on how that would work? I've unpovited columns for statement sat questions and then put them into stacked bar graphs, which worked beautifully, but I want to be able to work within a cluster bar graph here and it is not working to the level I wish.

 

 

@chrismark176,

 

For each level, you may use CALCULATE Function to add separate measures.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
chrismark176
Frequent Visitor

I found an example of exactly what I want to do with the graphs:

 

https://community.powerbi.com/t5/Desktop/Repeat-Survey-Year-to-Year-Comparison/m-p/102439/highlight/...

 

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.