Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
haniizz
Helper II
Helper II

Need help DAX & Matrix

Hi Community ,

I need help with DAX formula that count the sum of positive answers ( good, Very good ) and sum of negative answers ( Bad , Very Bad ) and reflect that in 3 Matrix

DAX.png

 

to be like this
Matrix 1 : ( Health )

GenderpositiveNegativeNo AnswerDo Not Know

Male 

4211
Female2300

 

and so on for the other categories ( finance , emotions )

pbix file 

 

Thank you in advance

1 ACCEPTED SOLUTION
lucadelicio
Super User
Super User

Hi,

here the link with the pbix

https://we.tl/t-vMdkToWg1E
You need to create a FACT table with the answers and a DIMENSION table with the user.
Then you have to connect with the relationship ONE to MANY.
Study what is a DIMENSION (the unique value: examples client, supllier, employes etc...)
and a FACT your data (examples invoice, calls, events etc..).u
To create the fact table you need to use Power Query in the transform data.
Create one table for every type of answer: Finance, Health, Emotions and then APPEND it in a new one the only one table that you import.

lucadelicio_0-1696680087346.png

To create the DIMENSION table you need to do the distinct value of your users.

IF RESOLVER YOUR PROBLEM PLEASE MARK IT AS A SOLUTION.

Regards,

Luca D'Elicio



Luca D'Elicio

LinkedIn Profile

View solution in original post

6 REPLIES 6
lucadelicio
Super User
Super User

Hi,

here the link with the pbix

https://we.tl/t-vMdkToWg1E
You need to create a FACT table with the answers and a DIMENSION table with the user.
Then you have to connect with the relationship ONE to MANY.
Study what is a DIMENSION (the unique value: examples client, supllier, employes etc...)
and a FACT your data (examples invoice, calls, events etc..).u
To create the fact table you need to use Power Query in the transform data.
Create one table for every type of answer: Finance, Health, Emotions and then APPEND it in a new one the only one table that you import.

lucadelicio_0-1696680087346.png

To create the DIMENSION table you need to do the distinct value of your users.

IF RESOLVER YOUR PROBLEM PLEASE MARK IT AS A SOLUTION.

Regards,

Luca D'Elicio



Luca D'Elicio

LinkedIn Profile

Dear Luca,

 

words are not enough to express my appreciation and gratitudes to your kind support

 

but thank you any way

 

this solved my issue

 

kind regards

lucadelicio
Super User
Super User

I send you the request to download the file from the drive.

Thank you



Luca D'Elicio

LinkedIn Profile

Hi Luca, sorry something with that file 

but here is another link pbix file  

thank you for your intension to support

I can't download it.

Please use https://wetransfer.com/
it's free.

Thank you



Luca D'Elicio

LinkedIn Profile

Thank you Luca the link is so helpful

here is the pbix file pbix 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.