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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Flex_CTC2312
New Member

Help with Matrix data using double category in the field

Hi folks,

I ask for your help to get the same or similar result I am looking for in Power bi.

As an example, I use the following table with information.

I want to emphasize that in the "Note" column there can be 2 or more values ​​separated by commas.

Flex_CTC2312_1-1677444043937.png

 

The following image is the result that I would like to achieve with the handling of this data from the previous example and the matrix is ​​drop-down with the +/- signs

Flex_CTC2312_6-1677445293564.png

 

 

Flex_CTC2312_5-1677445277933.png

 

 

For the average of the account [1], name [E.g1], note [B], the average would have to be 50%.
Where the average is calculated if the value in the "Status" column is 1 as positive.

I tried the example of account number 2 and I was able to get the results I expected, however when I moved to account 1 there are changes that I still can't achieve. I still can't land the logic that this implies.
I hope you can help me.

 

3 REPLIES 3
Flex_CTC2312
New Member

The [Count] column indicates how many times the value in the [Note] column is found.
In the first case for the account, there is only 1 element that satisfies Account:1,Name:Eg.1,Note = A
Compared to the condition Account:1, Name:Eg1,Note=B
There are 2 rows containing this letter.

Flex_CTC2312_1-1677469354840.png

 

The average is calculated depending on the color. The gray color is the general average.
In the case of orange color, it is the average for the Name section.

Finally the "Average" is calculated with respect to the total rows that satisfy certain conditions with respect to if the status is 1.


Account:1,Name:Eg1,Note:B = 2 rows found. Where one of them has status 0 and another with status 1

Still not sure of what you want but i have donw something.  Download the PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Ashish_Mathur
Super User
Super User

Hi,

How have you arrived at the numbers in the Count column?  Please give a better explanation.  Show the % there as well.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.