Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
18 | |
7 | |
7 | |
5 | |
5 |
User | Count |
---|---|
25 | |
10 | |
10 | |
9 | |
6 |