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
Anonymous
Not applicable

Visualize the intersect in a Venn Diagram or pie chart

Hi experts,

 

I'm struggling trying to visualize this data:

 

IdUserIdVideoIdDeviceCategoryLiveNoLiveDate
Us1Vid1Dev1Live1003/04/2019
Us1Vid1Dev2Live1003/04/2019
Us1Vid2Dev1NoLive0103/06/2019
Us1Vid3Dev1Live1005/04/2019
Us2Vid1Dev1Live1003/04/2019
Us2Vid4Dev2NoLive0101/04/2019
Us3Vid5Dev1NoLive0115/05/2019
Us4Vid2Dev1NoLive0109/07/2019
Us5Vid3Dev1Live1005/04/2019
Us6Vid5Dev2Live1025/09/2019

 

What I'm trying to do is to visualize this data in a venn diagram. For example, if I select dates from 03/04/2019 to 03/06/2019, It should be:

 

VennDiagram.png

 

Live; Both; NoLive

Us5; Us1; Us3

        Us2

 

I have created a column as follows:

Both =
// Var _Live = CALCULATETABLE('Table';FILTER('Table';'Table'[Live]=1))
// Var _NoLive = CALCULATETABLE('Table';FILTER('Table';'Table'[NoLive]=1))
Var _User = 'Table'[IdUser]
Var _NoLive = 'Table'[NoLive]
Return
IF( CALCULATE(
COUNTROWS('Table');
FILTER('Table'; 'Table'[Live]=_NoLive && 'Table'[IdUser]=_User)
); 1; 0
)
And then I've created a measure:
Measure = DISTINCTCOUNT('Table'[IdUser])
However, I'm not getting the desire output. Please refer to my PBIX FIle
What I'm missing? Also I would like to know if it's possible to draw a Venn diagram that can be filtered by any other dimensions?
 
Thanks for your help.
1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@Anonymous 

 

Check the sample report and take a look at this post.

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

View solution in original post

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@Anonymous 

 

Check the sample report and take a look at this post.

Community Support Team _ Sam Zha
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.