Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Good afternoon everyone,
I am trying to figure out a way to accurately show how many times an installer had an installation. The problem that i am running into though is that the column of information that records who the installer was can sometimes contain multiple installers (if there were multiple installers present). I have 2 tables, one with the orders and one with the list of possible installers. So for example my data may look like:
Base Data
Order | Installer |
1234 | Joe A |
5678 | Jim B,Joe A |
9012 | Jim B,Joe A,Frank R |
Technicians
Installer |
Joe A |
Jim B |
Frank R |
I've tried using a measure that contains the following:
Installer Instances = SUMX( BaseData, IF( CONTAINSSTRING(BaseData[Installer], SELECTEDVALUE(Technicians[Installer])), 1,0 ) )
Unfortunately that doesn't seem to find names if there are multiple per cell. Any ideas, i'm kinda stumped?
Thanks in advance!
Solved! Go to Solution.
I think i figured out a solution myself.
I took a big step back and instead just split the data in that column to create multiple rows. Once i changed the relationship data it seemed to be happy.
Not sure why that formula wouldn't work for me, but thank you for the help all the same!
@Anonymous
What is your expected result in above case?
My hope is that if i reduce the number of displayed orders, via a slicer based on date, that i can show the correct totals for the number of times installers have been deployed.
So, in the data set that i provided my numbers would be
Joe A. - 3
Jim B. - 2
Frank R. - 1
I would then display that result via a bar graph.
@Anonymous
I tested your formula and it gives the stated results.
Am i missing something?
I think i figured out a solution myself.
I took a big step back and instead just split the data in that column to create multiple rows. Once i changed the relationship data it seemed to be happy.
Not sure why that formula wouldn't work for me, but thank you for the help all the same!
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
105 | |
99 | |
98 | |
38 | |
37 |
User | Count |
---|---|
154 | |
120 | |
73 | |
73 | |
63 |