Forum Discussion
Measure Counting incorrectly based on filter
Hi Clint,
I'm not so clear for your table structure, can you please share some dummy data with the same structure? In addition, any filters in your 'M_Overall Project Score' formula? Can you provide this formula for analysis?
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
- Clint6 years agoHelper V
Hi Anonymous JarroVGIT
Here is the Measure the computes the overall project score:
M_Overall Project Score =[M_Sched Perf]+[m_Project Issue Score]+[m_Project Risk Score]+ [M_Scope Score]Here are the Measures that are added in the Overall Project Score:
M_Sched Perf =1.5*(DIVIDE(AVERAGE('Projects'[Project duration]),AVERAGE('ProjectBaselines'[Project Baseline Duration])))================================================m_Project Issue Score =MAXX(KEEPFILTERS(VALUES('Issues'[Project Name])),CALCULATE(MAX('Issues'[C_Issues Scoring])))================================================m_Project Risk Score =MAXX(KEEPFILTERS(VALUES('Risks'[Project Name])),CALCULATE(MAX('Risks'[c_Risk Scoring])))================================================M_Scope Score =Maxx(KEEPFILTERS(VALUES('BurndownScope'[c_Scope Score])),CALCULATE(MAXX('BurndownScope','BurndownScope'[c_Scope Score])))Interestingly, per the attached screenshots, the count doesn't change from 13 regardless whether I filter out cancelled and closed projects (as they should be). The Project name comes from the burndownscope table and the Project state filter comes from the "Projects table. The relationship is a 1 to many from Burndownscope to Projects via a field called Clarity ID. It is bi-directionalfiltersauto rag table- Anonymous6 years agoNot applicable
Hi Clint,
I found you add some visual level filters, current visual level filter effect only works on current visual. (you can't extract filter effect on other visuals) I'd like to suggest you use these fields on slicer to apply filter effect with other visuals.
In addition, you also use lots of times of keepfilters function in your formulas, I'd like to suggest taking a look at the following blog to know more about its effect and usage.
Regards,
Xiaoxin Sheng
- Clint6 years agoHelper V
Thanks Xiaoxin, I will take a look.
- TCarrasquillo6 years agoHelper II
Hi Clint ,
I'm just wondering, how are you getting the colored circles, because I would think you could just count the projects where the color is green rather then trying to do the between 2 scores option?
Might not work but thought I'd mention it, sometimes there's many ways to get to the same solution.
- Clint6 years agoHelper V
Conditional formatting based on the score of the project.