Forum Discussion

MrBrownn's avatar
MrBrownn
Frequent Visitor
2 years ago

Use a Multiple Simulations with same Filter

Hello everyone,

I have a requirement to create cost simulations. The user will need to select one reference simulation and another simulations (2max in this exemple), and then the tables will be displayed with the simulation.

 

The Need

The first table will show the information of the reference, including the cost per person, the second table will display the cost of simulation No. 1 and the last Table, datas of the 2nd simulation along with the cost per person.

 

What i need to do :

I need to add on the Simulation tables the difference from the reference and the actual simulation (Poid & Cost) 

Exemple : 

 


Here the Simple Data Model :

 

=> The PBI Exemple 

 

Thank you in advance for your help.

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi MrBrownn ,

    Can you please provide the sample data in each table? I can't test with just the relational view without data, and I can't create my own sample data to test with.
    Also I see in your screenshot that Nom and Taille are combined to identify the unique calculation object, which might be a breaking point. You could try combining all your tables together via these two columns (e.g. using Power Query or a calculated table) and then just subtract the columns to accomplish your desired result.


    Best Regards,
    Dino Tao
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi MrBrownn ,

        Sorry for being late! But can you explain why these two lines correspond to a subtraction?

         

        These two rows do not have the same Nom, so Power BI could not find a reason to match these two rows together to make the calculation.

        Best Regards,
        Dino Tao