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
JCovelli
Helper I
Helper I

Category Comparison Graph

 

Hey Everyone,

I would like to compare our categories of Call Intent Types by day, looking at one particular category’s calls versus the total calls.  I would also like to do this comparison by Division.  I have created a FAKE DATA set that illustrates what I mean.  Any help?

 

In the REAL data, that spans a full year, and over 30 categories, we are looking to see what categories experience abnormal spikes and on what days, or times of the year.  At first, I did it in a crude way: I created two pivot tables: one pivot table with the total call intents by day, and then a second pivot table and slicer so I could select a specific category (or several) and compare to the day.  A third section would do a ratio of the other two by date.

 

One problem I had was that some days do not have any calls for a particular category, so the table-to-table comparison would no longer line up to the day… for graphing purposes, etc.

 

 

Thanks!

John

12 REPLIES 12
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @JCovelli,

 

If it is convenient, could you share some data sample and your desired output so that we could help further on it?

 

Best Regards,

Cherry

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

Hello!

Yes I prepared an excel file with fake data, however I cannot see how to upload it here.  Am I missing that?

 

John

So, I have just now discovered the "New Quick Measure" feature and created a line graph that shows the performance by date of one category AND the total of all categories- two lines....

 

If I could CONVERT this to show the % To Total- ONE LINE-, then I could do the Divisional analysis...  I think I am getting closer!

  Number Of calls By date       
 Category1/1/20181/2/20181/3/20181/4/20181/5/20181/6/20181/7/20181/8/20181/9/20181/10/2018
 Claims12371021398570995  225952092220225
Division One 2472048011419900451941844045
Division Two 43335713920034800790873237079
Division Three 557459179257448001016894159101
 Billing26332313105315411776  247324602458
Division One 52746321130835500495492492
Division Two 92281036953962200866861860
Division Three 1185104147469379900111311071106
 Complaints27222495 1738198416672249020211986
Division One 54449903483973314498404397
Division Two 95387306086945825872707695
Division Three 12251123078289375321121909894
 Address Change21631521  259712371021398 1541
Division One 43330400519247204800308
Division Two 757532009094333571390539
Division Three 9736840011695574591790693
 Total Call Intents1534713179290276981210715691165555145080650879
Division One 3069263658015402421314233111031016110176
Division Two 53714613101626944237549408194301778217808
Division Three 69065931130634645448706524249812286322896

@JCovelli you can share your sample data file thru onedrive/dropbox/google drive and also here is link to an article on best practice to get answer to your question quickly. 

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Thank you @parry2k!  I just pasted into a post...at work, unfortunately I do not have access to the other filesharing mechanisms you mentioned.

 

John

@JCovelli is this how your raw data looks like? Please confirm. It need to unpivoted and than everything will work great. 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

I had actually mocked up a version of the aggregated data to illustrate.  But I see now you want a raw set.  I tried to mock up a set of raw data, but now I am getting a meesage when I psate it that I am exceeding 20,000 characters...

Date

Division

Category

 

1/1/2018

Division One

Address Change

1/2/2018

Division Two

Address Change

1/3/2018

Division Two

Address Change

1/4/2018

Division Three

Address Change

1/5/2018

Division One

Billing

 

1/6/2018

Division Two

Billing

 

1/7/2018

Division Three

Billing

 

1/8/2018

Division One

Billing

 

1/9/2018

Division Two

Claims

 

1/10/2018

Division Two

Claims

 

1/1/2018

Division Three

Claims

 

1/2/2018

Division One

Claims

 

1/3/2018

Division Two

Complaints

1/4/2018

Division Two

Complaints

1/5/2018

Division Three

Complaints

1/6/2018

Division One

Complaints

1/7/2018

Division Two

Address Change

1/8/2018

Division Two

Address Change

1/9/2018

Division Three

Address Change

1/10/2018

Division One

Address Change

1/3/2018

Division Two

Billing

1/4/2018

Division One

Billing

1/5/2018

Division Two

Billing

1/6/2018

Division One

Billing

1/7/2018

Division Two

Billing

1/8/2018

Division Three

Billing

1/9/2018

Division One

Billing

1/10/2018

Division Two

Billing

1/1/2018

Division Three

Billing

1/2/2018

Division One

Billing

1/3/2018

Division Two

Billing

1/4/2018

Division Three

Billing

1/5/2018

Division One

Billing

1/6/2018

Division Two

Billing

1/7/2018

Division Three

Billing

1/8/2018

Division One

Billing

1/9/2018

Division Two

Claims

1/10/2018

Division Three

Claims

1/1/2018

Division Two

Claims

1/2/2018

Division Three

Claims

1/3/2018

Division One

Claims

1/4/2018

Division Two

Claims

1/5/2018

Division Three

Claims

1/6/2018

Division One

Claims

1/7/2018

Division Two

Claims

1/8/2018

Division Three

Claims

1/9/2018

Division Two

Claims

1/10/2018

Division Three

Claims

@JCovelli see attached, I guess tht will help. You can slicer the graph by category or division, and it will compare against total calls.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Thanks so much for sending a solution!  I am excited to open it- I am unfortunately constrained here at work with downloading the newest version of Power BI Desktop, and your version must be newer than mine, because I am unable to open the file.  I will try to download the newest version at home so I can open your file.  Thanks for your help!

 

John

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.