Forum Discussion
Table Formatting
- Anonymous2 years ago
Hi, JeremyGreen
May I ask if this is the expected output you are looking for? Based on your description, I have created many measures to achieve the effect you are looking for. Following picture shows the effect of the display.
Once you have created such a matrix, you can turn on “Switch values to column” in Values under Visualizations pane.
Measures:
Population with Univ.Degree = VAR _sumPopulation = SUM ( Population[Population] ) VAR _sumUnvi = SUM ( Population[Univ.] ) VAR _degree = CALCULATE ( DIVIDE ( _sumUnvi, _sumPopulation, 2 ) ) RETURN _degree Total Population(2023) = CALCULATE ( SUM ( Population[Population] ), Population[Year] = 2023 ) Total Population(2028) = CALCULATE ( SUM ( Population[Population] ), Population[Year] = 2028 )If this does not work, could you please share some sample data without sensitive information and expected output.
How to provide sample data in the Power BI Forum - Microsoft Fabric Community
Best Regards,
Yang
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hi, JeremyGreen
May I ask if this is the expected output you are looking for? Based on your description, I have created many measures to achieve the effect you are looking for. Following picture shows the effect of the display.
Once you have created such a matrix, you can turn on “Switch values to column” in Values under Visualizations pane.
Measures:
Population with Univ.Degree =
VAR _sumPopulation =
SUM ( Population[Population] )
VAR _sumUnvi =
SUM ( Population[Univ.] )
VAR _degree =
CALCULATE ( DIVIDE ( _sumUnvi, _sumPopulation, 2 ) )
RETURN
_degree
Total Population(2023) =
CALCULATE ( SUM ( Population[Population] ), Population[Year] = 2023 )
Total Population(2028) =
CALCULATE ( SUM ( Population[Population] ), Population[Year] = 2028 )
If this does not work, could you please share some sample data without sensitive information and expected output.
How to provide sample data in the Power BI Forum - Microsoft Fabric Community
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hi Anonymous ,
Thank you so much for this reply, this is what I was looking for! I appreciate the help