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
Rsanjuan
Helper IV
Helper IV

Calculating a percentage from two different visualizations

pic1.JPG

I am trying to figure out the best way to calculate the winshare from these two tables, meaning finding the percentage of the numbers on the right compared to the numbers on the right.  For example, looking at the total, I have the winshare would be (80/327)*100 = 24.64%.

 

I would like to this for each account name.  Now there may be some account names that are in the left figure but not on the right figure.  It is because the bids were not realized.

 

The fields that I have for the table on the left are:  Account Name (bid) and Opportunity Name (bid) - which I did a count of

The fields that I have for the table on the right are:  Account Name (realized) and Opportunity Name (realized) - which I did a count of

 

Any suggestions would be greatly appreciated!  Thanks!

 

1 ACCEPTED SOLUTION
v-qiuyu-msft
Community Support
Community Support

Hi @Rsanjuan,

 

In your scenario, you can create a measure with DIVIDE() function like below:

 

Measure = DIVIDE(SUM(realized[Count of Opportunity Name (realized)]),SUM(bid[Count of Opportunity Name (bid)]))

 

Then format the measure values as Percentage.

 

q3.PNG

 

q2.PNG

 

If you have any question, please feel free to ask.

 

Best Regards,
Qiuyun Yu

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

View solution in original post

2 REPLIES 2
v-qiuyu-msft
Community Support
Community Support

Hi @Rsanjuan,

 

In your scenario, you can create a measure with DIVIDE() function like below:

 

Measure = DIVIDE(SUM(realized[Count of Opportunity Name (realized)]),SUM(bid[Count of Opportunity Name (bid)]))

 

Then format the measure values as Percentage.

 

q3.PNG

 

q2.PNG

 

If you have any question, please feel free to ask.

 

Best Regards,
Qiuyun Yu

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

Thank you!

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!

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.