Forum Discussion
$value from one table to another
Try Bi-directional join for passing filters across.
For YTD try
Year = CALCULATE(SUM(table[column]),DATESYTD('Date'[Date Filer]))
Last Year = CALCULATE(SUM(table[column]),DATESYTD(dateadd('Date'[Date Filer],-12,MONTH)))
Year Sales = CALCULATE(TOTALYTD(sum(Sales[Sales Amount]),('Date'[Date Filer])))
Lasr Year Sales = CALCULATE(TOTALYTD(sum(Sales[Sales Amount]),dateadd('Date'[Date Filer].-12,month)))
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks.
My Recent Blog - https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601
- corange6 years ago
Post Patron
Hi,
I am really new to POWER BI and trying this didnt work for me.
In table 1 I have got a same CODE multiple time with a dollar value associated to each.
I would like in table 2 for BI to look for that same CODE and to add against that CODE the total value it obtained by sum up all the SAME CODE and their value from table 1.
I have tried using the RELATED () but it will not let me select the table I am after which one.
Any tips?
- v-xuding-msft6 years ago
Community Support
Hi corange ,
Can you please share some sample data and your expected results? Then we will understand your requirement clearly.
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
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.