Forum Discussion
Field Parameter with Matrix Visual for dynamic column selection
- Anonymous3 years ago
Hi Anonymous ,
You can refer the following links to use Field parameters:
Slice by = { ("Brand", NAMEOF('Product'[Brand]), 0), ("Category", NAMEOF('Product'[Category]), 1), ("Color", NAMEOF('Product'[Color]), 2), ("Continent", NAMEOF('Customer'[Continent]), 3), ("Country", NAMEOF('Customer'[Country]), 4) }As you said, it does not work accurately when used measures into this field parameter. It means the data display incorrectly on the visual or something else? Could you please provide some sample data in the table 'T_R_RAR_REV_OPEN_BAL_DTLD_ASSGMT_LVL' and the formula if [SALES_CONTRACT_TYPE],[ITEM_CATEGORY]and [POB_TYPE]are measures? What's your expected result with special examples and backend logic? It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Hi Anonymous ,
You can refer the following links to use Field parameters:
Slice by =
{
("Brand", NAMEOF('Product'[Brand]), 0),
("Category", NAMEOF('Product'[Category]), 1),
("Color", NAMEOF('Product'[Color]), 2),
("Continent", NAMEOF('Customer'[Continent]), 3),
("Country", NAMEOF('Customer'[Country]), 4)
}
As you said, it does not work accurately when used measures into this field parameter. It means the data display incorrectly on the visual or something else? Could you please provide some sample data in the table 'T_R_RAR_REV_OPEN_BAL_DTLD_ASSGMT_LVL' and the formula if [SALES_CONTRACT_TYPE],[ITEM_CATEGORY]and [POB_TYPE]are measures? What's your expected result with special examples and backend logic? It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards