Forum Discussion
johnbasha33
3 years agoSuper User
Matrix visual
this visual is a matrix in Power BI, Rows are coming from Division column column values are coming from Bucket. this bucket has a single blank value thats why it is blank before paste due bucket. and...
mwegener
3 years agoMost Valuable Professional
Hi,
Power BI only hides categorical columns no measure columns.
So you need a disconnected table with a column containing the identifiers "On Hand Qty", "Current Value" and "Open Purchases".
Using a measure and the SWITCH statement, you then assign the calculation of the corresponding key figure to each column label.
Sample code for the measure:
SWITCH (
SELECTEDVALUE(ColumLayout[Colum]),
"On Hand Qty", [On Hand Qty],
"Current Value", [Current Value],
"Open Purchases", [Open Purchases]
)
Best regards
Marcus
johnbasha33
3 years agoSuper User
thanks for looking into this, dint exactly followed your suggestion.
you want me to create a separate table only with these 3 columns values in one column and use the above switch ,easure in the matrix?
- mwegener3 years agoMost Valuable Professional
Yes, because only column values are suppressed if they are blank.
- johnbasha333 years agoSuper User
how to do that, can you give me any reference?