Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hi,
I have two table visuals (T1 and T2) and a parent/child hierachy. Table 1 displays PARENT and Total Amount. I want table 2 to display either PARENT_Column or CHILD_Column depending on selection in T1. If there is ANY PARENT selection in T1, T2 will display the its CHILDREN column.
The following COLUMN calculation always return FALSE, regardless of selection in T1:
new_column=IF(ISFILTERED(TableName[ColumnName]), PARENT_COLUMN, CHILD_COLUMN)
I know the above formular can work as a MEASURE, but it's not working as a COLUMN.
Thanks,
David
@yidaveding - See if this helps: https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-EVERYTHING-measures-axis-legend-titl...
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 68 | |
| 59 | |
| 44 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 105 | |
| 104 | |
| 37 | |
| 27 | |
| 26 |