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.
Please see screenshot. This is a matrix table. I wish to divide 'engaged' by 'reached'. However these are categories and all share the same 'value' column. So how do I do this? i.e. the logic needs to be division where value=engaged / where value = reached. Please help! Thanks
Solved! Go to Solution.
Hi @mra1984 ,
You need to create a measure with the following syntax:
% Engaged/reached CALCULATE(SUM(Table1[Value]);Table1[Type] = "Engaged")/ CALCULATE(SUM(Table1[Value]);Table1[Type] = "Reached")
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThanks, this got me on the right track. I had to insert apostropes though around table names and also replace your semi colons with commas. So the correct result was:
Hi @mra1984 ,
You must reduce the size of the columns you want to hide, be carefull to turn off word wrap on columns title and values.
This is a workaround but is the way to achieve your goal.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @mra1984 ,
You need to create a measure with the following syntax:
% Engaged/reached CALCULATE(SUM(Table1[Value]);Table1[Type] = "Engaged")/ CALCULATE(SUM(Table1[Value]);Table1[Type] = "Reached")
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThanks, this got me on the right track. I had to insert apostropes though around table names and also replace your semi colons with commas. So the correct result was:
Hi @mra1984 ,
That question about the commas and the names of the tables as to do with the regional settings on the computer it's a normla thing.
Glad I could help.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsAlso now I have imlemented this, it creates another issue - the measure appears behind every column but I only want it to appear once - how could I adjust this?
Hi @mra1984 ,
You must reduce the size of the columns you want to hide, be carefull to turn off word wrap on columns title and values.
This is a workaround but is the way to achieve your goal.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsOk understand, sorry about that. Have remarked as yours. At least we have both regional solutions now 😉
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 |
---|---|
108 | |
98 | |
78 | |
66 | |
53 |
User | Count |
---|---|
139 | |
100 | |
95 | |
85 | |
63 |