Forum Discussion

charliep938's avatar
charliep938
Frequent Visitor
2 years ago

Calculated Counts with particular dataset (DAX HELP)

Hi Everyone,

 

I hope someone can help me out with this.

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