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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
ricardocamargos
Continued Contributor
Continued Contributor

Calculated Table

Hi there!

 

I need to create a visual which shows products bought by customers (It's like a histogram). For example:

 

100 customers buy only 10 products

  50 customers buy only 15 products...

 

I tried to create a calculated table, it works. However when I filter any date the values are wrong. I think calculated table is evaluated when the data is loaded, so it's not affected by filters on the visual. After that, I tried to use a measure (DISTINCTCOUNT(PRODUCTS)) in a column. but it doesn't work.

 

Does anyone know how to create a visual like that ?

 

Thank you,

 

Ricardo

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Hi @Anonymous,

 

Do you mean sample about data or structure ??

I solve this situation with dynamic segmentation, I saw it on this website:

 

http://www.daxpatterns.com/dynamic-segmentation/

 

Thank you,

 

Ricardo

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

HI @ricardocamargos,

 

Please provide some sample for test, it will be help for analysis.

 

Regards,

Xiaoxin Sheng

Hi @Anonymous,

 

Do you mean sample about data or structure ??

I solve this situation with dynamic segmentation, I saw it on this website:

 

http://www.daxpatterns.com/dynamic-segmentation/

 

Thank you,

 

Ricardo

Helpful resources

Announcements
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.