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 all,
I have two tables like :
I have created a Custom Table for getting my calcuations :
It Should be a measure not a visual.
Solved! Go to Solution.
Hi @Anonymous ,
1.Create a new table. Then create a calculated column in the new table. There needs to be a relationship between the two tables.
Table = ADDCOLUMNS('Fact',"Weight",RELATED(tb_weights[Weight]))
MF = CALCULATE(SUM('Table'[Weight]),ALLEXCEPT('Table','Table'[MUID]))
2.Create another new table. This new table is the result.
Summary = DISTINCT(SELECTCOLUMNS('Table',"MUID",[MUID],"MF",[MF]))
You can check more details from here.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Could you tell me if your problem has been solved?
If it is, kindly Accept it as the solution. More people will benefit from it.
Or you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file from your Onedrive for Business.
Best Regards,
Stephen Tao
Hi @Anonymous ,
1.Create a new table. Then create a calculated column in the new table. There needs to be a relationship between the two tables.
Table = ADDCOLUMNS('Fact',"Weight",RELATED(tb_weights[Weight]))
MF = CALCULATE(SUM('Table'[Weight]),ALLEXCEPT('Table','Table'[MUID]))
2.Create another new table. This new table is the result.
Summary = DISTINCT(SELECTCOLUMNS('Table',"MUID",[MUID],"MF",[MF]))
You can check more details from here.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
110 | |
94 | |
81 | |
66 | |
58 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |