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
May 23 2022 epsiode 5 without aka link.jpg

The Power BI Community Show

Welcome to the Power BI Community Show! Jeroen ter Heerdt talks about the importance of Data Modeling.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

Power BI Dev Camp Session 22 with aka link 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!