Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
Solved! Go to 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
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |