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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
michaelcalm
Regular Visitor

How to combine two Y-Axis from different workbooks in a stacked bar graph

Hello, 

 

I am currently working on creating a report that requires pulling data from two different workbooks. Each colum has the same type of data, just dates. So when creating the report. I have two seperate Y-Axis from each workbook but it only works from which ever one is listed first. 

 

michaelcalm_2-1670948151601.png

So here are the two Y-Axis, I need to somehow combine them. If I switch the order,  it makes two differnt reports and numbers are only right half the time. 

 

michaelcalm_1-1670948117481.png

 

 

michaelcalm_0-1670948084247.png

 

Please help. Thank you! 

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @michaelcalm ,

 

You can try creating a calendar table, connecting it with your two tables, and then adding the quarter field from the calendar to the y-axis of the visual.

In this case, you can use a quarter field to display the data from both tables.

I made a simple sample file for your reference. Please download and check.

In this sample file, I also create a separate table as a slicer field selection.34.png

vstephenmsft_3-1671009239091.png

 

 

 

Best Regards,

Stephen Tao

 

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

View solution in original post

2 REPLIES 2
v-stephen-msft
Community Support
Community Support

Hi @michaelcalm ,

 

You can try creating a calendar table, connecting it with your two tables, and then adding the quarter field from the calendar to the y-axis of the visual.

In this case, you can use a quarter field to display the data from both tables.

I made a simple sample file for your reference. Please download and check.

In this sample file, I also create a separate table as a slicer field selection.34.png

vstephenmsft_3-1671009239091.png

 

 

 

Best Regards,

Stephen Tao

 

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

amitchandak
Super User
Super User

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.