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

Show Growth or Difference and not totals in my Graphs

After using this amazing forum, books, Reddit and Discord making a lot of progress on my current work project as a total newbie. I am currently stuck on a specific issue! I was able to manipluate all my data in power query so I can easy access over 60 different Excel files and it's very clean data now.

Now the issue is making that data work the way it's meant to be. Growth Trends and not Totals. Which is what is currently defaulting as I am obviously not setting it up right. I have 3 years worth of data with 12 months in each year. Power Query for the win! My current issue is when I create graphs It combines the months for each grouping as if they are a total sales report. I am doing a Membership Growth Trend and combining my numbers blows up my entire report. 

As an example, a specific group has 40 people for 4 months but no gains then it would be 40 for each month. However if I show the growth of a year it totals those. Thinking the 40 is 40 new people..... But I do need the solid numbers to show how many we gained for all my groups in a specific month.

How do I control this and make sure it's easy to work with? I assume I could make an entire new system using power query but I hope there is a different way because I already have to transform and manipulate a lot of data to get it clean as it's a raw report and that seems like a rabbit hole.  
And because of that none of my Membership Trends are actually correct Please help so this poor soul can sleep again and not have to worry about work deadlines. While I'm mostly doing Line Graphs here is a more easily understandable representation of my issue.

unknown (1).png

  1. And because of that issue none of my Membership Trends are actually correct. 
    unknown.png


    1. as it's totaling the numbers of each month which actually represent "current" numbers of that specific month

       

1 ACCEPTED SOLUTION

I am now confused? Are you trying to get the difference between same month last year and current month or the previous month vs current month? If it is the latter, a simple CALCULATE( <aggregation measure>, PREVIOUSMONTH (Dates[Date]) ) will do.










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

5 REPLIES 5
danextian
Super User
Super User

Hi @QuintinC 

What value do you expect, say 2020 and 1023, to be shown in the total? Is the value of the latest month of the difference between the latest and the earliest months?










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Hi @danextian 
So the good news is your question made me re evaluate how I was tackling this and managed to solve the issue by googling some different terms and learning about Drills. Which solved the problem. That and my sample file for a transform function were infecting my data as I forgot to remove it.

QuintinC_0-1653880218045.png

I guess my question now is about the same, but instead of the graph how can I make my matrix not total everything as it makes it confusing and incorrect at a glance. Granted if you look at each one it's fine but it makes it look like it's representing totals instead of membership changes.

QuintinC_1-1653880289880.png

 

Hi @QuintinC ,

So the question now is how do you calculate for the change? Month 2 less Month 1?  Year 2021 less Year 2020?

 










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

So this Data set from my work reports is what I am pulling from but I can only snag a single month and I'm unable to get a full file. So I was able to download a CSV of each month. Below is the single month format that is showing correctly. Basically I want to replicate this but instead have it show all the months per year not just the single month.

QuintinC_0-1653915547520.png


I am having a similar issue with Pie chart graphs as I can't split it from summarizing each month as a giant total. Any suggestions?

QuintinC_0-1653928249745.png

The yellow alone is way more then our total as it is adding each months totals. (Trying to show the difference between groups of growth and current numbers) 

I am now confused? Are you trying to get the difference between same month last year and current month or the previous month vs current month? If it is the latter, a simple CALCULATE( <aggregation measure>, PREVIOUSMONTH (Dates[Date]) ) will do.










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

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.