When I create a quick measure (visual-level calculation), I need to reference a column from the data table as the base. However, when I try to create this calculation in a visual where I’m using a field parameter, the column name changes depending on the selected parameter field, and as a result, the visual-level calculation throws an error.
Is there any way to make this work?
3 Comments
- kleigh
Responsive Resident
There isn't a solution at the moment - it is on the roadmap : https://community.fabric.microsoft.com/t5/Desktop/Share-your-thoughts-on-visual-calculations-preview/m-p/4744947#M1415334 - Gepax
Advocate I
I found an alternative… Ideally, it would work natively with the field parameter, but this is what I managed to do. I manually created a field parameter: prm_M_Tipo_Combustivel = DATATABLE( "Tipo", STRING, { {"Diesel"}, {"Arla"} } ) After that, I created a measure that uses “Measure A” if “Diesel” is selected, or “Measure B” if “Arla” is selected. I used this measure in the visual, created a moving average (visual calculation), and it adjusts according to the selected option. - jeroenterheerdt
Microsoft Employee
Status changed:NewtoNeeds Votes
Recent ideas
Metadata-Driven Copy Job Control at Table and Column Level
We currently achieve metadata-driven table and column selection in Copy Data activities by using dynamic queries. This allows us to dynamically determine which tables and columns should be processed ...Motasim094 hours agoNew MemberNew6Views0likes0CommentsDynamic ForEach Parallel Batch Count Based on Runtime Capacity
We would like Microsoft Fabric Data Factory to support dynamic configuration of the ForEach activity's parallel batch count at runtime. Currently, the ForEach batchCount is effectively configured as...Motasim094 hours agoNew MemberNew4Views0likes0CommentsMake Workspace-Level Surge Protection Limit Visible to Workspace Users
Please make the applicable workspace-level surge protection limit visible in the workspace settings. Currently, when surge protection is applied by Capacity Admins, workspace users don't get visibil...frithjof_v7 hours agoCommunity ChampionNew27Views2likes0CommentsAllow Custom Recipient Settings for Gateway Expiry Notifications
Now, during the final 90 days before the gateway version end-of-support date, operations continue, but semantic model contacts users can receive warnings in email The warning message is: "The on-prem...YuanMao8 hours agoNew MemberNew8Views1like0Comments