The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
32 | |
14 | |
10 | |
10 | |
9 |