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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
sakamotothais
Helper III
Helper III

Sum or Calculate in Measure?

Hi guy's,

 

I need a help on power BI in a conditional sum.

 

I have 4 measurements that show:

- The amount of product
- If the product had an increase then 1 (100%) at the increased minus 0
- If the pod had no increase and no decrease then 1 (100%) not neutral
- If the product had a decrease then 1 (100%) at the minus minus 0

 

Reflect the table below

Capture.PNG

 

Now I need to count how many in total I have increased, in total I have decreased, and in total I have  neutral.
I can not calculate a measure that does this.

 

After you calculate the total for each one, calculate the total percentage of the three.

 

Example:
Total of 22 in quantity
100/22 = 4.54%

Increased in the table I have 3 values with 100%
I want to make a measure 4.54 * 3 = 13.62%
and
Decreased in the table I have 16 values with 100%
I want to make a measure 4.54 * 16 = 72.64%
and
Neutral in the table I have 3 values with 100%
I want to make a measure 4.54 * 3 = 13.62%

Total sum = 13.62 + 72.64 + 13.62 = 100%

 

Any suggestion?

thanks

 

 

 

thanks

 

1 REPLY 1
technolog
Super User
Super User

Can you please tell me if the problem is still relevant? If you managed to solve it in some way, please write here how you solved this problem. Then it will be possible to mark this problem as solved.

If not, it may make sense to ask the question again, thus confirming the relevance of this problem.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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