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
Lokisame
Helper I
Helper I

Dynamic table with agregaregated datas - venn diagam

Hello, 

is it posible to create table or measue(with table inside) that will be depending on the current page filters?

I have a table containing information whether a given customer bought a given product in a given month:

CustomerIDProduct1Product2Month
111January
211January
301January
100February
210February
310February
111March
210March
311March

 

I need to create table with information about whether a given customer bought a given product in the selected time range.
For example:
Customer 2 bought only product 2 in Jenuary, but he by product 1 and product 2 when we look at whole quarter.
The time range should depend on the filter on the page. 

I need this table, or rather its columns to create ddynamic venn diagram.

I tried to do it using DISTINCTCOUNT but the given customer fell into both the basket in which he bought one product and the basket where he bought two products at the same time during the quarter filtering.

1 ACCEPTED SOLUTION

Hi @Lokisame 

You may change the aggregation to Count instead of Count(distinct).Then it could count the times.

1.png

Regards,

Community Support Team _ Cherie Chen
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

3 REPLIES 3
v-cherch-msft
Employee
Employee

Hi @Lokisame 

It seems you may use slicer as below.If it is not your case,please explain more about your expected output.

1.png

Regards,

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

In your case from your table (just for customer 1):

When we filter Jan: on chart we should see 1:0:0 - beacause customer 1 bought only "product 1" in this month
When we filter Feb: on chart we should see 0:1:0 -beacause customer 1 bought "product 1" and "product 2" in this month

But when we dont use any filters soo we look at jan, frb, mar we should see 0:1:0 - coz customer 1 bought "product 1" and "product 2" in this quarter - no metter how many times

Hi @Lokisame 

You may change the aggregation to Count instead of Count(distinct).Then it could count the times.

1.png

Regards,

Community Support Team _ Cherie Chen
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.