Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Pie chart shows same values for each category

 I have 2 tables : 

 

Line :

 

 

Policy : 

 

 

Relation is on policy level. Now i am creating a Pie chart where i want to show Sum(Premium) by ICO.

 

Here each ICO is getting same distribution, where i am expecting A should have 10k and B and C should have 4K premuim.

 

Could you please address this issue ?

 

Thanks,

Shubham

  • Anonymous 

    The Premium amount is in the Dimension Table, you need to have the premium amount populated in the Line table based on the logic you apply. then, the PIE should work as expected.

    ________________________

    If my answer was helpful, please consider Accept it as the solution to help the other members find it

    Click on the Thumbs-Up icon if you like this reply 🙂

    YouTube  LinkedIn

5 Replies

  • Anonymous 

    The Premium amount is in the Dimension Table, you need to have the premium amount populated in the Line table based on the logic you apply. then, the PIE should work as expected.

    ________________________

    If my answer was helpful, please consider Accept it as the solution to help the other members find it

    Click on the Thumbs-Up icon if you like this reply 🙂

    YouTube  LinkedIn

    • Anonymous's avatar
      Anonymous
      Not applicable

      No, don't do that.  Keep the relations between tables.

      But go to your Model and check your link.  

      In Properties, check your relationship and make sure that 'Cross filter direction' is set to Both.

      • davskin's avatar
        davskin
        New Member

        Thanks, however setting cross filter direction to both, doesnt fix the very same problem I am having, both tables are linked by same PK , not sure where to go to next? do I follow Fowmy's suggestion.

        I have two tables relationship is linked by same PK for each still getting same values for Top 10 categories in a pie chart