cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Transfer of capacity between entities

Hi all

 

I'm new to PowerBi and I want to have the following:

 

I want to create a slicer which allows me to transfer 'capacity' from one entity to another. I.e. If the entity A has 300 capacity and entity B and C -20, I would like to create a slicer so I can transfer for example 20 capacity to entity B and 20 capacity to entity C.

Capture.JPG

 

Capture2.JPG

 

I tried a what if parameter but without any success. 

 

Thank you in advance for any help!

 

Kind regards

 

Tom

3 REPLIES 3
v-yulgu-msft
Microsoft
Microsoft

Hi @Anonymous,

 

Is this your expected final output?

1.PNG

If so, please refer to this measure.

Measure =
IF (
    SUM ( Table3[Capacity] ) < 0,
    0,
    CALCULATE ( SUM ( Table3[Capacity] ), ALLSELECTED ( Table3 ) )
)

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi!

 

Thanks for the help! It is the expected final output in this case, but in other cases not.

 

I want to create a dashboard where my client can see his different entities with their capacity. Further, I want to provide a sort of slicer where he can interactively transfer excess capacity to another entity.

 

I.e. A has excess capacity of 300 and B is negative 100 so we take from entity A -100 and  add to entity B +100. Entity C remains unchanged.

It could be that for another client entity C has 1000 capacity and entity A -200, so the same slicer which allows him to transfer -200 from C to add 200 to A.

 

Hope this clarifies what I need.

 

Help is very appreciated!

 

Kind regards

Hi @Anonymous ,

 

Is the slicer used to specify the number to transfer? And Is it always transferring from positive entity to negative entity? Or the transfer regulation varies based on report viewer's selection?

 

Regards,

Yuliana Gu

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

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors