Forum Discussion

hama21's avatar
hama21
Icon for Helper I rankHelper I
3 years ago

Help with a measure using fields from 1 table but using this measure in multiple fields table visual

Hi, I have a measurethat is as follows:

 

 

MEASURE = CALCULATE(COUNT(TABLE A[ITEM NUMBER]), TABLE A[ITEM NUMBER] = 15)+0

 

 

(I'm using +0 to display rows when the result is blank())

 

If I create a table with these specifics fields(item, item number and measure), I can use the measure and find the correct result: 

TABLE ATABLE A 
ITEMITEM NUMBERMEASURE
A152

 

 

This is the expected result I want, using two fiels from anothers tables:

TABLE ATABLE BTABLE CTABLE A 
ITEMDESC ADESC BITEM NUMBERMEASURE
ADESC 1ADESC 1B152

 

 

This is the table that I'm receiving when using all fields that I want

TABLE ATABLE BTABLE CTABLE A 
ITEMDESC ADESC BITEM NUMBERMEASURE
A DESC 1B150
A DESC 2B150
ADESC 1ADESC 1B152
ADESC 1ADESC 2B150
ADESC 1BDESC 1B150
ADESC 1BDESC 2B150

 

 

Could you guys please help me to get the expected result. I don't know if the problem is in my measure or not.

 

Thank you

 

4 Replies

    • hama21's avatar
      hama21
      Icon for Helper I rankHelper I

      relationship between them in another column that is not in the example

      • lukiz84's avatar
        lukiz84
        Icon for Memorable Member rankMemorable Member

        please share a picture of your relationships