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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ananttripathi
Regular Visitor

search rows of a table with more than 1 condition but not use filter dax command

Hi,

My data looks like the following.Capture.JPG

 

This is a dummy data set to explain the problem, in reality there are many objects and many properties. What I want to do is count the number of objects that contain property A(=1) and C(=1) and also the number of objects that contain property A(=1) and D(=1). Then I want to show this in a heat map visual. Like below.

 Capture.JPG

I know the counting can be easily done by using a filter dax command, but then as soon as I use filter command it supersedes any context filter applied. Can someone please help? I prefer a heat map to show this data set but if someone has a better visualization in mind pls suggest. 

1 ACCEPTED SOLUTION

Hi Lydia,

You are right and I had to change the table format. I had to create a bit map across objects and property. Something like below. That solved my problem.Capture.JPG

 

 

 

View solution in original post

3 REPLIES 3
v-yuezhe-msft
Employee
Employee

@ananttripathi

I am not clear about your expected result. Based on the above sample data, how will you input count numbers in the four cells of heat visual?

If you intend to use the Table Heatmap visual to show the result, I don't think it is possible, as the property values(A,B,C,D) are stored in a single column.


Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Lydia,

You are right and I had to change the table format. I had to create a bit map across objects and property. Something like below. That solved my problem.Capture.JPG

 

 

 

@ananttripathi,

You have solved this issue, right? If so, please accept appropriate reply as answer to close this thread.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.