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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jussiwaisto
Helper I
Helper I

Easy € per sum, how do I do it?

Hi, I have a simple question: how do I make a measure by this situation?

 

Table name = Table1

id
1100
2200
3300
4400
5500
6600
7700
8800
  
Syntax = id1 € / ALL €
= 100 / 3600 = 0,028

 

I mean, one value per all values. Thanks!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

For each measure in a visual, you have the option to show it has % of the total. Right-click and check.

In case you want to calculate 

 

Ratio =
Var Overall = calculate(sum( €),all(table1))
return
calculate(divide(sum(€),[Overall]))

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

For each measure in a visual, you have the option to show it has % of the total. Right-click and check.

In case you want to calculate 

 

Ratio =
Var Overall = calculate(sum( €),all(table1))
return
calculate(divide(sum(€),[Overall]))

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you amitchandak! It seems to work almost right, but it seems that I should use some date function there also.

 

There is also a column (Date) and now this counts everything.

 

Screen Shot 2019-10-07 at 10.57.53.png

I have a date slider and now I would like to include that slider dates into the results.

 

Screen Shot 2019-10-07 at 10.57.02.png

 

Do I have to add some date syntax there also?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.