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
Anonymous
Not applicable

Values by month

Hello!

 

I have one table with values per different dates, Table 1 in figure, which do not have any values certain dates and months. I have one table with a percentage for each month under a year (Table 2). I now want to create a visual result table that show according to the result table in figure below. It should sum all values in Table 1 to one total sum, then multiply the total sum from Table 1 by each month’s percentage in Table 2. The result table should ignore selections of month but accept change in year.

 

Skärmklipp 2.JPG 

 Skärmklipp.PNG

Hope you can help. 

 

Best regards

Mårten 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,

 

Make sure that your month in table 2 is formatted as don't summarize.

 

Then you can use this measure:

Result := SUM(Table2[Percentage per]) * SUM(Table1[Values])

 

This does give me your desired result when i recreated this.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi,

 

Make sure that your month in table 2 is formatted as don't summarize.

 

Then you can use this measure:

Result := SUM(Table2[Percentage per]) * SUM(Table1[Values])

 

This does give me your desired result when i recreated this.

Anonymous
Not applicable

Maybe I didn’t explain so well but this proposal will not give me values for the month that have not values in date and value coulmns in table 1.   

 

Thanks!

 

Best regards 

Mårten 

Hi @Anonymous,

 

By my tests, the formula from Jeltex could give your desired result.

 

Capture.PNG

 

However, I'm confused about your logic. Maybe I miss something?



Maybe I didn’t explain so well but this proposal will not give me values for the month that have not values in date and value coulmns in table 1.   

 


 

Could you describe it in more details?

 

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.

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.