Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I have two tables. one called purchase request and the other called registration
on the purchase request, i have a column called invoice total. and on the regis table column called Regis total.
i would like to create a calculated column to see if both columns are matched or not
if matched I wanted to say yes if not I wanted to say no.
tried several formula but it didn't work
Hi @Anonymous ,
What does your data model look like and is it possible to provide some test data?
Best Regards,
Adamk Kong
Hi @Anonymous ,
The relationship between the two tables is established through the REGIS field and then the related function is used. The reference is as follows:
Column =
VAR COL_ =
RELATED ( Registration[Regis Total] )
RETURN
IF ( 'Purchase Request'[Invoice Total] = COL_, "Yes", "no" )
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
i got thei error
The column 'Logistics Center Report[RETAILTOTAL]' either doesn't exist or doesn't have a relationship to any table available in the current context.
I used this as you stated
@Anonymous
How can you identify a Purchase Request in the registratons table?
Is there some value in both tables that can be linked? A Purchase Request number? Some kind of ID for the record?
Phil
Proud to be a Super User!
Yes I have a column called Pnumber . and the relation between them is many to many. I always get this error
The column 'Logistics Center Report[RETAILTOTAL]' either doesn't exist or doesn't have a relationship to any table available in the current context.
First table named Logistic center report and the second called regis
is there anayway to solve this to get true or false when the numbers dosenot match?
I used this formula
Yes. REGIS numbers column are a column in both tables
User | Count |
---|---|
84 | |
80 | |
70 | |
47 | |
43 |
User | Count |
---|---|
108 | |
54 | |
50 | |
40 | |
40 |