Forum Discussion
A_H
7 years agoFrequent Visitor
add new column to table
Hi
I want to add a new coulmn for the below:
I am trying to calculate the sum of saleamount form OrderDetails table when concatinate filed in Target table = concatinate field in OrderDetails Table
Actual Sales Achievment =
CALCULATE (
SUM (ORDERDETAILS[Gross Total After Discount] ),
FILTER ( ORDERDETAILS,ORDERDETAILS[Concatenate]) = (Target,Target[CONCATENATE]),
)
)
2 Replies
- Greg_Deckler
Community Champion
I believe you will need to use RELATED or RELATEDTABLE. Sample data would help. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
- v-chuncz-msft
Community Support