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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
haadvitha
New Contributor

row level calculations count not being populated properly

Screenshot 2025-09-23 at 10.52.11โ€ฏPM.png

1 ACCEPTED SOLUTION
Jihwan_Kim
Esteemed Contributor III

Hi,

I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.

Please check the below picture and the attached pbix file.

Please try to create DAX measure instead of using implicit measures.

 

Jihwan_Kim_1-1758684699493.png

 

 

Jihwan_Kim_0-1758684685030.png

 

Count Code1: = 
COUNTROWS (
    SUMMARIZE (
        FILTER ( ALL ( Table2 ), Table2[name] = SELECTEDVALUE ( Table2[name] ) ),
        Table1[variety]
    )
)

 

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

4 REPLIES 4
Jihwan_Kim
Esteemed Contributor III

Hi,

I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.

Please check the below picture and the attached pbix file.

Please try to create DAX measure instead of using implicit measures.

 

Jihwan_Kim_1-1758684699493.png

 

 

Jihwan_Kim_0-1758684685030.png

 

Count Code1: = 
COUNTROWS (
    SUMMARIZE (
        FILTER ( ALL ( Table2 ), Table2[name] = SELECTEDVALUE ( Table2[name] ) ),
        Table1[variety]
    )
)

 

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

i am getting error saying variety specified in the summarize function was not found in the input table, because in my original data set, i had many - many relation ship between these tables.

Jihwan_Kim
Esteemed Contributor III

please provide your sample pbix file's link, and then I can try to look into it.

Thank you.


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
v-kpoloju-msft
Honored Contributor II

Hi @haadvitha,

Thank you for reaching out to the Microsoft Fabric Community Forum. Also, thanks to @Jihwan_Kim, for his valuable inputs on this thread.

Could you please share the sample data relevant to this thread, along with the expected outcome? This will help us accurately reproduce the scenario and provide you with the .pbix file. Alternatively, if you have a sample .pbix file, please share the link with us.

Thank you for using the Microsoft Fabric Community Forum.

Helpful resources

Announcements
Users online (7,086)