Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
nmck86
Post Patron
Post Patron

Calculation Error

 
1 REPLY 1
v-ljerr-msft
Employee
Employee

Hi @nmck86,

 

Could you explain a little on the following measure? Why do you sum on the "SurveyID" column instead of count on it? And what's the logic of whole formula? Smiley Happy

% of Row Total for Month 2 = DIVIDE(SUM(Sheet1[SurveyID]),CALCULATE(SUM(Sheet1[SurveyID]),
    ALLEXCEPT(Sheet1,Sheet1[Date of Survey].[Date],
        'Sheet1'[Date of Survey].[Day],Sheet1[Date of Survey].[Month],
        'Sheet1'[Date of Survey].[MonthNo],'Sheet1'[Date of Survey].[Quarter],
        'Sheet1'[Date of Survey].[QuarterNo],'Sheet1'[Date of Survey].[Year],
        'Sheet1'[Attribute],'Sheet1'[Date of Survey])))

Regards

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.