Forum Discussion
Anonymous
4 years agoNot applicable
Relate two table without a Key with conditional
Hi guys Could someone tell me if what I need do is possible? I'm really lose with this problem. I have two tables, in the table "One" I have one colum of "Volume" where you can find tha quantity of...
- 4 years ago
Anonymous
Ok. Please tryNumber of Vehicles = VAR CurrentVolum = SELECTEDVALUE ( Salles[Volume] ) VAR MAXCapacity = MAX ( Carriers[CAPACIDADE DE] ) RETURN IF ( NOT ISBLANK( CurrentVolum ), ROUNDUP ( DIVIDE ( CurrentVolum, MAXCapacity ), 0 ) )
tamerj1
4 years agoCommunity Champion
Anonymous
Ok. Please try
Number of Vehicles =
VAR CurrentVolum = SELECTEDVALUE ( Salles[Volume] )
VAR MAXCapacity = MAX ( Carriers[CAPACIDADE DE] )
RETURN
IF (
NOT ISBLANK( CurrentVolum ),
ROUNDUP ( DIVIDE ( CurrentVolum, MAXCapacity ), 0 )
)Anonymous
4 years agoNot applicable
It worked perfectly well tamerj1.
Thanks a lot!!