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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
DIFF1
Helper II
Helper II

Visualization that will sum units per each week and compare to the month total

Hello everyone, 

 

I have such a situation. 

I have Budget per month namely 10,704,821. 

I have Total units per week namely 1 week) 3,110,471   2 week) 3,425,498  3 week)5,434,598   4 week)4,038,218 units. 

I have decided to use clustered column chart for visualization. 

DIFF1_0-1663982582883.png

 

The way how it looks right now, it doesn't really provide a good insight. Is there a way to sum week1+2 results and show it as a sum. For week3 = sum week1+sum week2+ sum week3. For week4 = sum week1+week2+week3+week4. I need it to compare how we progress through the month in terms of budget vs total units. 

 

Is that possible?

 

 

1 ACCEPTED SOLUTION

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

5 REPLIES 5
DIFF1
Helper II
Helper II

Ashish thank you. I am not sure why but it doesn't work for me. 

I need to create only many to many relationship otherwise it doesn't work. 

DIFF1_0-1663995171930.png

 

MTD sales do not add up to each other. 

DIFF1_1-1663995206995.png

 

Do you know what I need to change?

 

Hi,

Share the download link of the file.  Keep only the visual in which you are facing the issue.  Remove all other pages/visuals.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Ashish thank you. Can you open the file? https://easyupload.io/pk9eka

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Ashish_Mathur
Super User
Super User

Hi,

Ensure that you have a Calendar Table with calculated column formulas for Year, Month name, Month number and Week number.  Sort the Month name column by the Month number.  Create a relationship (Many to One and Single) from the Date column of your Data Table to the Date column of the Calendar Table.  To your visual, drag Year, Month name and Week number column to the X-axis.  Write these measures:

Sales = sum(Data[Amount])

MTD sales = calculate([Sales],DATESMTD(Calendar[Date]))

Hope this helps.  


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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