Forum Discussion
Field Parameter Work Around
- Anonymous2 years ago
Hi STEFAN_SA ,
It seems that you want to put the measure on the axis.
I have found a document about using the measure as axis in the visual. Please refer to it.
The workaround of using the measure as axis in the... - Microsoft Fabric Community
Or Instead of trying to dynamically switch the user dimension on the y-axis, use your slicer to dynamically adjust the measure (counts) displayed on the x-axis. This measure can be something like:
Dynamic User Counts = VAR SelectedStageID = SELECTEDVALUE(('(Slicer)_OperationStages'[ID])) RETURN SWITCH( SelectedStageID, 1, [TotalCountsAll], -- Assuming [TotalCountsAll] is a measure for all stages 2, [TotalCountsAcknowledged], 3, [TotalCountsPhoned], -- Add other cases as necessary BLANK() -- Default or error case )
Visual Setup: Use your users dimension on the y-axis and the measure on the x-axis of your bar chart. This setup should allow the counts to dynamically adjust based on the slicer selection, while consistently displaying users on the y-axis.Dynamic User CountsHow to Get Your Question Answered Quickly - Microsoft Fabric Community
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ RongtieIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Thank you for the feedback
As you mentioned I already have the "Switch" Measure for counts.
My main goal was that I wanted to create a "User Stats" look where by I am highliting the Top performers by what ever stage their in.
Using a visual like a bar chart And the (Slicer)_OperationStages to switch the counts and users based on the diffrent stages.
Example: Acknowlaged Counts by all Users Who Acknowlaged a Signal. Or Phoned Counts by All Users Who Phoned
_Exp.Switch.All(Counts) =
I Think my issue I have at this point is Between the two tables. Main Table and the User table.
As stated that the main table have the UsersID's for each stage and you can only have the user table link to one of those users.
When I split the Main table into the diffrent stages and using one User table I did not have any issue appoart from the file size that was too big
So now I am trying to duplicate the user table for each stage to link or merge to the main table.
But I am still faced with the "Switch" measure that does not link to the visual.
I am checking you article now, and see its kind of what I did with the measure switch on counts per User.
As mentioned above I need to switch both x-Axis the counts of users and the y-Axis users based on the operation stage that they fall into
Does this make sence? how do I share the file?
Hi STEFAN_SA ,
Please provide more details.
How to Get Your Question Answered Quickly - Microsoft Fabric Community
Please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.