Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi! I asked this in respond of other post but i think is worth to create a new one, I'm trying to reach a new calculated column like the last one of the image:
I'm trying to create a list for every "OP" with the concatenate of "EE" and in parenthesis the sum of "tns" whenever the OP, EE and the Date are the same, the tricky part it's that in my source I have other columns like "lingado" that makes my table more repetitive.
With this I'm trying to reach a visual like this one:
Please help, any help would very much appreciate, thank you!!
Solved! Go to Solution.
@Midguel , Try a measure like
measure =
var _tab = summarize(Table, table[OP], Table[EE], "_1", sum(Table[tns]))
return
concatenatex(_tab, EE & "(" & _1 & ")")
Display with OP
Hi @Midguel ,
Try this as a Calculated COlumn
CCEPCol =
VAR summtab =
CONCATENATEX (
FILTER (
SUMMARIZE (
'Table10',
Table10[Date],
Table10[OP],
Table10[EE],
"TNS", SUM ( Table10[TNS] )
),
Table10[Date]
= EARLIER ( Table10[Date] )
&& Table10[OP]
= EARLIER ( Table10[OP] )
),
Table10[EE] & "(" & [TNS] & ")",
","
)
RETURN
summtab
Regards,
Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
thanks! @harshnathani @amitchandak , both worked pretty well, i was thinking if there's a way to make this in a calculated column? instead of a measure, because i wanted to take this column in a matrix as a row and i can not reach that with a measure, again thanks for your help.
Hi @Midguel ,
Try this as a Calculated COlumn
CCEPCol =
VAR summtab =
CONCATENATEX (
FILTER (
SUMMARIZE (
'Table10',
Table10[Date],
Table10[OP],
Table10[EE],
"TNS", SUM ( Table10[TNS] )
),
Table10[Date]
= EARLIER ( Table10[Date] )
&& Table10[OP]
= EARLIER ( Table10[OP] )
),
Table10[EE] & "(" & [TNS] & ")",
","
)
RETURN
summtab
Regards,
Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
Hi @Midguel ,
Solution already posted but responding since was working on the solution.
You can also try
CCEPMeasure =
var summtab =
CONCATENATEX(
SUMMARIZE('Table10',Table10[Date], Table10[EE],"TNS" , SUM(Table10[TNS])),Table10[EE] & "(" & [TNS] & ")",",")
RETURN
summtab
Regards,
Harsh Nathani
@Midguel , Try a measure like
measure =
var _tab = summarize(Table, table[OP], Table[EE], "_1", sum(Table[tns]))
return
concatenatex(_tab, EE & "(" & _1 & ")")
Display with OP
User | Count |
---|---|
41 | |
27 | |
23 | |
19 | |
16 |
User | Count |
---|---|
55 | |
35 | |
21 | |
18 | |
15 |