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

View all the Fabric Data Days sessions on demand. View schedule

Reply
charliep938
Frequent Visitor

Calculated Counts with particular dataset (DAX HELP)

Hi Everyone,

 

I hope someone can help me out with this.

charliep938_0-1695822751407.png

I have the above dataset.

This represents 1 property within a database. All of these rows relate to the same property and are linked in a couple of ways.

Firstly it's linked on the PartitionKey in some cases, whereas other times it will be linked on RowKey.

 

Is it possible to write a DAX expression that is a COUNT. So the result of this expression would be 1. But it needs to check IF the partitionKeys and the address is the same count as 1 OR IF the RowKeys match count towards it as 1. But it always needs to equal 1 for each of the properties in our dataset. To make things harder, sometimes we only have the bottom 2 row structure for 1 property.

 

I hope this makes sense, seems rather tricky.

 

Many thanks in advance!

1 REPLY 1
lbendlin
Super User
Super User

Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.

If you want to get answers faster please refer to https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors