Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi community.
It my the first post. I really got a lot of help from all topics creating my report. And I stucked at very trivial point.
When my slicer is in exact position - measure is working correctly calculating "UserTestInScope". When the slicer is not aplied which means count all it returns the first available Value when User is "Blank"
There are screens and code example below:
#UserTestInScope =
VAR Reference_Mail = SELECTEDVALUE('User'[displayName])
VAR Reference_Phase = SELECTEDVALUE(Phases[ExecutionReference_TestSuite.TestPlanTitle])
VAR Result =
COUNTROWS(FILTER(
ALL('UserTestRuns'),
AND(Reference_Mail = 'UserTestRuns'[AssignedTo.UserName], Reference_Phase = 'UserTestRuns'[TestSuite.TestPlanTitle])
))
RETURN Result
displayName field slicer I tried to get from User table and from UserTestRuns Table.
I feel that I'm missing some stupid thing in table connections or in measure. Can you help me with it? Probably there is some tip.
Link to pbix and the data included: Link
Kind regards and many thanks in advance,
Anton
Hi Aisa.
It took some time to clean up the data. The link is attached in original post
From the information you provided, I have no way to determine the exact cause. Can you provide your pbix file for reference?
Best Regards,
Community Support Team _ Ailsa Tao
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
26 | |
19 | |
14 | |
10 |
User | Count |
---|---|
58 | |
50 | |
44 | |
19 | |
18 |