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
I would like to create a measure to group only the varieties that belong to the group where harvest_name = 2021/2022
hi @gelsonwj
Are you expecing a measure like this?
Count =CALCULATE(COUNT(TableName[variety_name]), TableName[harvest_name] = "2021/2022")
No, I would just like that when placing the measurement in the table, only the lines where "varieti_name" belongs to "harvest_name" = 2021/2022 would appear
@gelsonwj ,The information you have provided is not making the problem clear to me. Can you please explain with an example.
segmentation can help
https://www.daxpatterns.com/dynamic-segmentation/
https://radacad.com/grouping-and-binning-step-towards-better-data-visualization
https://youtu.be/CuczXPj0N-k
https://www.daxpatterns.com/static-segmentation/
https://www.poweredsolutions.co/2020/01/11/dax-vs-power-query-static-segmentation-in-power-bi-dax-po...
Appreciate your Kudos.
i would like to have a table with columns "name", "farm_name" and "variety_name", but with the condition that the values of "variety_name" are only where "harvest_name" = 2021/2022. I would like to have a measure that makes this grouping of selecting only the lines of the "variety_name" column where "harvest_name" = 2021/2022.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 20 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 29 | |
| 21 | |
| 12 | |
| 12 |