Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello! I'm new here and in PowerBI so my question may be a little dumb, but here it goes...
My first column has the code from different stores. Each store is fulfilled by other unit (second column). This unit can fulfill more than one store. Every store has a limit of how many pounds of the product she can ask the unit to ship to them. This limit is on the 4th column (MRF). By default, this limit is linked to the "product type 0,43".
I need to know what is the total limit (MRF) that a unit can ship, no matter which store it is. I uploaded an image (the second one) as an example: Fulfillment unit number 9668 ships product to several stores. Each store has a limit. The total limit would be the sum of those limits, right? But this total should be written only in the field where the first column is the same code as the second column AND the product type is "0,43". I highlighted the image to show what I mean. In the example, the result should be 9668 9668 0,43 560. It can be a calculated column or a measure, I don't know. The problem is that, when a put the new value in a table field (visual) it segregates between the stores....And I need it consolidated in just that one specific unit and product type...
I really appreciate your help...
Solved! Go to Solution.
Hi @ninago
For measure use
=
IF (
SELECTEDVALUE ( TableName[Centro_Venda] )
= SELECTEDVALUE ( TableName[Centro_Productor] ),
CALCULATE (
SUM ( TableName[MRF Telheiros] ),
ALLEXCEPT ( TableName, TableName[Centro_Productor], TableName[Espessura] )
)
)
for a new calculated column use
=
IF (
TableName[Centro_Venda] = TableName[Centro_Productor],
CALCULATE (
SUM ( TableName[MRF Telheiros] ),
ALLEXCEPT ( TableName, TableName[Centro_Productor], TableName[Espessura] )
)
)
Hi @ninago
For measure use
=
IF (
SELECTEDVALUE ( TableName[Centro_Venda] )
= SELECTEDVALUE ( TableName[Centro_Productor] ),
CALCULATE (
SUM ( TableName[MRF Telheiros] ),
ALLEXCEPT ( TableName, TableName[Centro_Productor], TableName[Espessura] )
)
)
for a new calculated column use
=
IF (
TableName[Centro_Venda] = TableName[Centro_Productor],
CALCULATE (
SUM ( TableName[MRF Telheiros] ),
ALLEXCEPT ( TableName, TableName[Centro_Productor], TableName[Espessura] )
)
)
Thank you so much. It worked perfectly!
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
30 | |
11 | |
11 | |
10 | |
6 |