Forum Discussion
create new measure based on multiple criteria and uniqueID
- 6 years ago
Hello Anonymous
that was never specificated. This will be my last attempt to propose a solution.
Changed the measure to
SkillCount = var reportskill = SELECTEDVALUE(Report[Skill]) var reportsubskill = SELECTEDVALUE(Report[Sub-skill])return COUNTROWS( Filter( ADDCOLUMNS( SUMMARIZE( Report; Report[ID]; Report[Skill]; Report[Sub-skill] ); "Sum"; CALCULATE( SUMX(Report;[% training]); Filter( Report; [ID]=EARLIER(Report[ID]) && [Skill]=EARLIER(Report[Skill])&&[Sub-skill]=earlier(Report[Sub-skill]) )));Report[Skill]=reportskill && Report[Sub-skill]= reportsubskill &&[Sum]>=0,99))The result is this
If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too
Have fun
Jimmy
Hi Jimmy,
This table isn't what I want. I want a table when I have two columns: All of skills in first column and the total number of skills with final total in another column.
Thank you Jimmy
Hello Anonymous
that was never specificated. This will be my last attempt to propose a solution.
Changed the measure to
SkillCount = var reportskill = SELECTEDVALUE(Report[Skill])
var reportsubskill = SELECTEDVALUE(Report[Sub-skill])return
COUNTROWS(
Filter(
ADDCOLUMNS(
SUMMARIZE(
Report;
Report[ID];
Report[Skill];
Report[Sub-skill]
);
"Sum";
CALCULATE(
SUMX(Report;[% training]);
Filter(
Report;
[ID]=EARLIER(Report[ID]) && [Skill]=EARLIER(Report[Skill])&&[Sub-skill]=earlier(Report[Sub-skill])
)));Report[Skill]=reportskill && Report[Sub-skill]= reportsubskill &&[Sum]>=0,99))
The result is this
If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too
Have fun
Jimmy
- Anonymous6 years agoNot applicable
Hi Jimmy,
I would like how I get the total of SkillPerID column.
Can you help me please?
Thank you