Forum Discussion
Anonymous
8 years agoNot applicable
Possible Analytics function: dynamic Total column in chart with USA States?
Hi Together! Currently I'm trying to visualize a dynamic total column in my chart with USA States (Red marked). The column should be seprated in bottleneck and regular jobs. How I can realiz...
- 8 years ago
Anonymous,
Drag [State] from the calculated table to Axis and measures below to Value.
Measure = VAR s = SELECTEDVALUE ( 'Table'[State] ) RETURN IF ( s = "Total", SUM ( ValueTable[Regular jobs] ), CALCULATE ( SUM ( ValueTable[Regular jobs] ), FactTable[State] = s ) )Measure 2 = VAR s = SELECTEDVALUE ( 'Table'[State] ) RETURN IF ( s = "Total", SUM ( ValueTable[Bottleneck jobs] ), CALCULATE ( SUM ( ValueTable[Bottleneck jobs] ), FactTable[State] = s ) )
v-chuncz-msft
8 years agoCommunity Support
Anonymous,
Remove the relationship between FactTable and Table.
Anonymous
6 years agoNot applicable
Dear v-chuncz-msft,
Can you advise on adding an index column in calculated table 'Table', so I can sort the order of tenure categories on my chart properly? Otherwise the solution works great!
Thanks.