Forum Discussion
Sum and filter a table based on a condition in another table
- Anonymous1 year ago
Hi
Please follow below steps to achieve expected results.
Step 1 :-
Unpivot section columns from QualityData Table using Power Query. so, that you will get all sections in one column.
Step 2:-
Then create relationship between both table using Section Column. one to Many Relationship
Step3 :-
You will get correct results for Actual Score without any context modification
Step 4:
For getting Possible Score, Use below formula.
Possible Score =CALCULATE(SUM(MarkReference[Marks]),CROSSFILTER(MarkReference[Section],QualityTable[Section],Both))Please accept solution, if it resolve your issue.Thanks & RegardsPravin Angane
Hi HankScorpio2 ,
Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.
If these also don't help, please share more detailed information and description to help us clarify your scenario to test.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng