Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
I have two tables same columns but different years. It consist of Month, week and qty for 2021 and 2020.
when I try to create a single table to have both quantities for 2021 n 2020 in the same table it gives me the same value for each row.
can someone please help me around the dax formulas.
Solved! Go to Solution.
Hi, @Anonymous
I’m not very sure if your data is only as much as in the example, whether your data contains a date column,
if there is a date column, you can try to extract the specific day in the date, and then the three columns (MonthOutbound and OutboundWeek and day column) combined into a unique key value column. so we could try to establish a one-to-one relationship between the two tables, and then the results can be displayed correctly. The key to the problem is to get the unique key
I also provide a sample data for reference.
In my data, because the same date in different years may be different weeks, there are data mismatched rows
Please check my sample for details.
Is this the result you want? Hope this is useful to you
Please feel free to let me know If you have further questions
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
I’m not very sure if your data is only as much as in the example, whether your data contains a date column,
if there is a date column, you can try to extract the specific day in the date, and then the three columns (MonthOutbound and OutboundWeek and day column) combined into a unique key value column. so we could try to establish a one-to-one relationship between the two tables, and then the results can be displayed correctly. The key to the problem is to get the unique key
I also provide a sample data for reference.
In my data, because the same date in different years may be different weeks, there are data mismatched rows
Please check my sample for details.
Is this the result you want? Hope this is useful to you
Please feel free to let me know If you have further questions
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous
i think you need to merge the tables to combine data
https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-shape-and-combine-data
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
88 | |
73 | |
54 | |
43 | |
37 |
User | Count |
---|---|
98 | |
64 | |
54 | |
48 | |
45 |