Forum Discussion
Plotting column data based on selection
- Anonymous1 year ago
Hi KaniVan2
The following test is for your reference:
My sample:
Convert the columns into rows by using unpivot feature in Transform data(Power Query editor)
Create a measure as follows
Measure = VAR _country = SELECTEDVALUE(Country[Country]) VAR _number = SELECTEDVALUE(Number[number]) VAR _name = _country & _number RETURN IF(SELECTEDVALUE('Table'[Attribute]) = _name, 1, 0)Put the measure into the visual-level filters, set up show items when the value is 1.
Output:
If this sample data is structurally different from the one you are using, please provide some sample data and the expected results based on the sample data so that we can better help you. How to provide sample data in the Power BI Forum - Microsoft Fabric Community Please remove any sensitive data in advance.
Best Regards,
Yulia XuIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi KaniVan2
The following test is for your reference:
My sample:
Convert the columns into rows by using unpivot feature in Transform data(Power Query editor)
Create a measure as follows
Measure =
VAR _country = SELECTEDVALUE(Country[Country])
VAR _number = SELECTEDVALUE(Number[number])
VAR _name = _country & _number
RETURN
IF(SELECTEDVALUE('Table'[Attribute]) = _name, 1, 0)
Put the measure into the visual-level filters, set up show items when the value is 1.
Output:
If this sample data is structurally different from the one you are using, please provide some sample data and the expected results based on the sample data so that we can better help you. How to provide sample data in the Power BI Forum - Microsoft Fabric Community Please remove any sensitive data in advance.
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.