Forum Discussion
Conditional Formatting on a Matrix & More
- 8 months ago
Hi tkerr198 ,
Please refer below steps.
1. Created Disconnected table.
VersionTable =
ADDCOLUMNS (
GENERATESERIES(
MIN(DataPage_Tables_Append1[Version]),
MAX(DataPage_Tables_Append1[Version]),
1
),
"Version", [Value]
)2. Please refer below , updated DAX measures.
VAR _NextVersion =
CALCULATE (
MIN ( VersionTable[Version] ),
VersionTable[Version] > _Version
)VAR _PrevVersion =
CALCULATE (
MAX ( VersionTable[Version] ),
VersionTable[Version] < _Version
)3. In Matrix visual, Rows --> DocNum, Columns --> VersionTable[Version] and
Values --> Document Status.
Please refer below output snaps. and attached PBIX file.
If you still facing the same issue. Please provide sample pbix file and provide sample output snap, and please provide more information regarding your query, it will help us to replicate the scenario. Do not include sensitive information.
I hope this information helps. Please do let us know if you have any further queries.
Regards,
Dinesh
Hello,
Thank you for your repsonse! I tried this solution out, but I am somehow running into problems with it.
Reopened is appearing randomly in my matrix, when the DocNum has not been closed between Versions. Also, almost all versions at the end of the matrix still show as Closed.
Is there something that I am possibly missing?
Hi tkerr198 ,
Please refer below steps.
1. Created Disconnected table.
VersionTable =
ADDCOLUMNS (
GENERATESERIES(
MIN(DataPage_Tables_Append1[Version]),
MAX(DataPage_Tables_Append1[Version]),
1
),
"Version", [Value]
)
2. Please refer below , updated DAX measures.
VAR _NextVersion =
CALCULATE (
MIN ( VersionTable[Version] ),
VersionTable[Version] > _Version
)
VAR _PrevVersion =
CALCULATE (
MAX ( VersionTable[Version] ),
VersionTable[Version] < _Version
)
3. In Matrix visual, Rows --> DocNum, Columns --> VersionTable[Version] and
Values --> Document Status.
Please refer below output snaps. and attached PBIX file.
If you still facing the same issue. Please provide sample pbix file and provide sample output snap, and please provide more information regarding your query, it will help us to replicate the scenario. Do not include sensitive information.
I hope this information helps. Please do let us know if you have any further queries.
Regards,
Dinesh
- v-dineshya8 months agoCommunity Support
Hi @tkerr198 ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. And, if you have any further query do let us know.
Regards,
Dinesh