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.
Hello,
I'm trying to get total sales by code and source from the following table, but for some reason I'm getting totals all same, any idea how to solve?
Hi @brinky
Is the sum column in the same table as?
Is it a Measure or Column that you are trying to create?
if so try to use CALCULATE( SUM( YourTable[SumColumn] ) )
If not, please can you provide extra info about your model.
Regards,
Mariusz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Mariusz ,
Thanks for your prompt reply.
Would like to create a measure, did try CALCULATE(SUM('retail_group grp_sales'[quantity])) did get same result.
Might be as quantity is coming fom another table.
Hi @brinky
You need to change the cross filter direction on the relationship between Wine and Code to Both, like below.
Regards,
Mariusz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Mariusz ,
Did impove but I'm still not getting the correct numbers as per attached on the source/connection.
Hi @brinky
I looks like there is a problem with the way you join your tables.
Why there is duplicates in your wine table?
Regards,
Mariusz
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 |
---|---|
107 | |
105 | |
88 | |
74 | |
66 |
User | Count |
---|---|
126 | |
111 | |
100 | |
83 | |
71 |