Forum Discussion
Calculated Tables and Filed Parameters
- Anonymous1 year ago
If you want to use the dynamic table, the better way is that you use the measure to create the virtual table, the calculation table is static. It can only return the corresponding results based on the values selected by your current slicer. No matter how your slicer changes later, the calculation table will not change.
You can try to use the measure.
DynamicTable = var MetricSelected = SELECTEDVALUE( ParMETRICS[METRICS Order],4 ) var VirtualTable1 = CALCULATETABLE( SELECTCOLUMNS(table1,field1,field2), filter1) var VirtualTable2 = CALCULATETABLE( SELECTCOLUMNS(table1,field1,field2), Filter2) Var CombinedTable = UNION( SELECTCOLUMNS(VirtualTable1, field1,field2, “Condition”,0 ), SELECTCOLUMNS(VirtualTable2 ,field1,field2, “Condition”,1 ) ) RETURN Countrows(FILTER(CombinedTable,[Condition] = MetricSelected))You can refer to the following similar thread.
Solved: Dynamic calculatable table - Microsoft Fabric Community
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello Anonymous
Thanks for directing me to that post. It was very helpfull. It also made me realize that dynamic tables are not possible because caculated tables are static. And measure can not return a table. Unless I make a measure for ever column? It does not seam reasonable, but I will keep at it for a little longer. At least I have turned around from a dead end.
Thanks
- Anonymous1 year agoNot applicable
Thank you for your quick reply.If my reply help you, you can consider to accept it as a solution so that more user can refer to.
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.