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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
nbmalla
Frequent Visitor

Pivoting and merging

Hi everyone.

Hope you all are doing great.

I got two pieces of data to visualize. One for sales and one for transactions. Records are weekly and placed in different sheets.

Transaction2022,Transaction2023 and Sales2022,sales2023.

I unpivoted the tables separately and merged them as Sales and Transaction.

I loaded them in Powerbi but when I tried to visualize the result it was repeated numbers.
I might be wrong during pivoting or merging or even connection with other tables.

Is anybody kind to support me?

https://xgf.nu/K21XS

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

First step is to bring your data into a usable shape.  You list 2022 and 2023 data but your calendar ony covers 2023 - I would rethink that.

 

Next step is to adjust your data model

 

lbendlin_0-1701652299382.png

 

With that you can now create your visuals according to your needs.

lbendlin_1-1701652444278.png

 

View solution in original post

2 REPLIES 2
nbmalla
Frequent Visitor

Thank you do much for your support.

lbendlin
Super User
Super User

First step is to bring your data into a usable shape.  You list 2022 and 2023 data but your calendar ony covers 2023 - I would rethink that.

 

Next step is to adjust your data model

 

lbendlin_0-1701652299382.png

 

With that you can now create your visuals according to your needs.

lbendlin_1-1701652444278.png

 

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.