The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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.
User | Count |
---|---|
15 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |