Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Greetings, I started using Power BI recently, so I don't have experience in DAX, and i'm stuck in a problem that i can't really think of a solution.
Here's what i had in mind:
Code | Flag | Qty |
F4XX45 | Type-A | 813 |
F4XX06 | Type-B | 755 |
F4XX15 | Type-C | 9 |
F4XX87 | Type-D | 114 |
F4XX33 | Type-E | 887 |
Other | 33133 |
What I tried to do:
Qty = COUNTROWS( CALCULATETABLE('fResponsib', CONTAINSSTRING('fResponsib'[Responsibility_Name],'DimEnt'[Code])))
What should I do in this situation?
Thanks in advance!
Solved! Go to Solution.
@toneradeu
Can you try this as a new column?
Qty =
COUNTROWS(
FILTER(
'fResponsib',
CONTAINSSTRING('fResponsib'[Responsibility_Name],EARLIER([Code]))
)
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@toneradeu
Can you try this as a new column?
Qty =
COUNTROWS(
FILTER(
'fResponsib',
CONTAINSSTRING('fResponsib'[Responsibility_Name],EARLIER([Code]))
)
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
9 | |
8 | |
8 | |
7 |