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
NithinBN
Helper II
Helper II

Separating data

Hello,

I have a table like this,

Capture.PNG

 How to get graph, having JAN and FEB on X-axis, with sum of A JAN and T JAN for JAN and sum of A FEB and T FEB for FEB.

 

Thanks!

 

 

 
 

 

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @NithinBN 

Wasn't sure exactly what you wanted but this PBIX file contains both of these charts

charts.png

Regards

Phil


If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

2 REPLIES 2
PhilipTreacy
Super User
Super User

Hi @NithinBN 

Wasn't sure exactly what you wanted but this PBIX file contains both of these charts

charts.png

Regards

Phil


If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


BI_Jo
Resolver III
Resolver III

Hi,

 

Is this the result you're looking for?

BI_Jo_0-1604448271020.png

To get this I transformed the table in Power Query Editor with these steps:

 

1. Created a new 'JAN' column that summed the values from columns 'A JAN' and 'T JAN'

2. Created a new 'FEB' column that summed the values from columns 'A FEB' and 'T FEB'

3. Removed all columns other than 'JAN' and 'FEB'

4. Then highlighted the 'JAN' and 'FEB columns and unpivoted the table.

 

You can then create the above graph.  Hope that was the type of solution you were looking for!

 

Jo

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.