Join 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!View all the Fabric Data Days sessions on demand. View schedule
Hello everyone,
I have an issue with the following measure:
This measure is put into a graph with dates, and using filters, the user can see the average scans per hour for a certain person, based on clocking or scanning time. Now, I would like to make it so that when they select both, it shows both average per hour scanned and average per hour clocked.
Can anyone help me with this please?
Thanks!
Solved! Go to Solution.
Hi @Anonymous
Create a measure
Measure final =
VAR s2 =
CONCATENATEX (
'Table (3)',
'Table (3)'[selection],
","
)
RETURN
SWITCH (
TRUE (),
s2 = "select1", [Measure],
s2 = "select2", [Measure 2],
s2 = "select1,select2", [Measure 3]
)
Or
Measure 4 =
VAR s2 =
CONCATENATEX (
'Table (3)',
'Table (3)'[selection],
","
)
RETURN
SWITCH (
TRUE (),
s2 = "select1", FORMAT([Measure],"General Number"),
s2 = "select2", FORMAT([Measure 2],"General Number"),
s2 = "select1,select2","select1:"&FORMAT([Measure],"General Number")&" ,"&"select2:"&FORMAT([Measure 2],"General Number")
)
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
Create a measure
Measure final =
VAR s2 =
CONCATENATEX (
'Table (3)',
'Table (3)'[selection],
","
)
RETURN
SWITCH (
TRUE (),
s2 = "select1", [Measure],
s2 = "select2", [Measure 2],
s2 = "select1,select2", [Measure 3]
)
Or
Measure 4 =
VAR s2 =
CONCATENATEX (
'Table (3)',
'Table (3)'[selection],
","
)
RETURN
SWITCH (
TRUE (),
s2 = "select1", FORMAT([Measure],"General Number"),
s2 = "select2", FORMAT([Measure 2],"General Number"),
s2 = "select1,select2","select1:"&FORMAT([Measure],"General Number")&" ,"&"select2:"&FORMAT([Measure 2],"General Number")
)
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
What does [rTotaal Uren Probis Time] represent?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!