Forum Discussion

mkathi0405's avatar
mkathi0405
Frequent Visitor
5 years ago

Two level DAX functions

I am doing a dashboard for a survey results 

One of the problem I faced is two level dax function.

Example: Q6a  - who did approach for help?

                            Ans :  1. Booths    25     

                                      2. Internet   27

                                      3. Friends   28

                                      4. Schools  49

                 Q8  - where search engines did you use ?

                             Ans:  1. Yahoo    4

                                      2. Google   3

                                      3. Amazon   2

                                      4. Apple   1

 

The numbers are the responses 

Those who answered Internet for Q6a will proceed to answer Q8

The total responses for Q8 is not 27 

I need to show a bar chart for top 3 Q8 who have replied Internet for Q6a

 

3 Replies

  • mkathi0405 

    Yes, it is possible but can you share your sample data in the format that you have?

  • v-xulin-mstf's avatar
    v-xulin-mstf
    Community Support

    Hi mkathi0405,

     

    If I understand correctly, there should also be a user table.

    I'm not sure about your data structure.

    Could you provide sample data and expected output after removing sensitive data?
    Sample data and expected output would help tremendously.

     

    Best Regards,

    Link

     

    Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!

  • v-xulin-mstf's avatar
    v-xulin-mstf
    Community Support

    Hi mkathi0405,

     

    Is your issue solved?

    If you still have some question, please don't hesitate to let me known.‌‌

     

    Best Regards,

    Link

     

    Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!