Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have two tables having similar column names only difference is the value column which I want to calculate.
There is no relationship between the two tables, it is many to many. I am trying to first sum the values column from both the tables and then divide the sum values to create a measure, but when I try to check with the columns the divide measure gives incorrect values.
I further want to create another measure to get the average of the divide measure till the week where value is not zero and store it in another measure. Can you suggest where I am going wrong.
Hi, @Anonymous
May I ask if your problem has been solved? Is the above post helpful to you?
Is there an error in the percentages? What is the formula for your measure?
Could you please consdier sharing more details about it or a simple sample file without any sesentive information for further discussion?
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 , You should join these two tbale on common dimensions like time and store ,and then you can analyze
divide(Sum(Table1[Col]), Sum(Table2[Col]) ) should work
if need a simple avg
AverageX(values('Date'[week]), Calculate( divide(Sum(Table1[Col]), Sum(Table2[Col]) ) ))
Thanks @amitchandak , Should I create a date table and link the weekdays to it? Or should I add a time column for both the tables and join them together?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
76 | |
74 | |
49 |
User | Count |
---|---|
146 | |
108 | |
106 | |
90 | |
62 |