The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
This is sort of a compound problem:
I have a data table that contains the vacancy by geography and time period.
I have a matrix visualization that shows that vacancy in two time periods.
I would like to calculate the % change between only those two time periods, and then apply background conditional formatting to only the 2020.06 column of a color range of highest to lowest, and sort the table by the % change of highest to lowest.
The two time periods: 2019.06 and 2020.06
% Change = (The vacancy of 2020.06 - the vacancy of 2019.06) / (the vacancy of 2020.06)
This is the matrix table.
HI @Anonymous ,
Assuming 2019.06 and 2020.06 are measures
Create a new measure
PercentChange = DIVIDE([2020.06] - [2019.06] , [2020.06])
Incase 2019.06 and 2020.06 are columns
Create a new measure
PercentChange = DIVIDE(MAX('Table'[2020.06]) - 'Table'(MAX( [2019.06]) , MAX('Table'[2020.06]))
Then Select the 2020.06 Column and Right Click, Select Background Formatting.
From the dropdown Select the measure PercentChange
Regards,
Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
2019.06 and 2020.06 are values within a column titled 'Year Mo'
HI @Anonymous ,
Share sample Data Please in text form
Regards,
Harsh Nathani
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
36 | |
14 | |
12 | |
7 | |
7 |