Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
I have two tables Sales and Product. The Sales table is a transactional table, so it has columns like Order No, Order Line No, ProductKey, Value etc..
The Product table just has one column called ProductKey
The two tables are joined together by ProductKey
I want to add another column to the Sales table by doing a calculated column or measure (whichever one is best) which I want to call "Special Product" where if the ProductKey from the Sales table exists in the Product table then label this as Yes else if it does not exists then No
Thanks
Solved! Go to Solution.
@AvPowerBI Maybe:
Column =
VAR __ProductKey = [ProductKey])
VAR __Match = COUNTROWS(FILTER('Product',[ProductKey] = __ProductKey))
RETURN
IF(ISBLANK(__Match),"No","Yes")
@AvPowerBI Maybe:
Column =
VAR __ProductKey = [ProductKey])
VAR __Match = COUNTROWS(FILTER('Product',[ProductKey] = __ProductKey))
RETURN
IF(ISBLANK(__Match),"No","Yes")
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
75 | |
64 | |
52 | |
47 |
User | Count |
---|---|
219 | |
89 | |
76 | |
67 | |
60 |