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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors