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

Compare similar data between two sheets

Hello all,

 

I have an excel file with two sheets, 2019 & 2020.

Each sheet has the same columns (Staff Member, Department, Weeks, Ticket Replies).

Staff Member = Staff Name A, Staff Name B, etc

Department = Department A, Department B, etc

Weeks = Week 01, Week 02, etc

Ticket Replies = Number A, Number B, etc

 

I want to create a graph calculating the average of ticket replies per staff member 2019 vs 2020.

 

Thanks for your assistance.

 

1 ACCEPTED SOLUTION
jthomson
Solution Sage
Solution Sage

Stick a column in saying 2019 or 2020 respectively, append them together then just make a simple average measure, using the new column as a legend?

View solution in original post

3 REPLIES 3
v-shex-msft
Community Support
Community Support

HI @Gkourtoglou,

Maybe you can consider creating a new calculated table with UNION and SELECTCOLUMNS functions, then you can simply write a measure formula to extract current date value to calculate the difference between date different years.

If you are confused about coding formula, can you please share some dummy data with same data structure?

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
amitchandak
Super User
Super User

Append two data

https://radacad.com/append-vs-merge-in-power-bi-and-power-query

 

Create a measure like average(table,table[ticket replies])

View by year

jthomson
Solution Sage
Solution Sage

Stick a column in saying 2019 or 2020 respectively, append them together then just make a simple average measure, using the new column as a legend?

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.