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
Power BI, import report and semantic model: show change connection pop-up
When you need to import an existing Power BI report and semantic model in Tenant B that's created in Tenant A, you need to jump through a number of hoops to fix the original connection. It's doable, ...Reitse2 hours agoMost Valuable ProfessionalNew6Views1like0CommentsEnable per-user security for shared gateway connections using service accounts
When a shared gateway connection uses a highly privileged service account, all source queries run with that account’s permissions. Users cannot see the stored credentials, but report developers who c...AshishChougala2 hours agoMicrosoft EmployeeNew7Views3likes0CommentsRequest to add a feature to extract gateway connection status and last time credentials used
Could you please add a feature in the admin UI on Microsoft Fabric/Power BI to extract the Gateway connections with details of the gateway connection status and last activity information along with t...Vinodkumar_Chak3 hours agoNew MemberNew23Views1like0CommentsPower BI - incorrect handling of empty string parameter in DAX query in paginated report
Blank string parameters in paginated reports are treated as empty strings in Power BI Report Builder but as null values in the Power BI Service, resulting in incorrect report output. -> Create a pag...roshinikumarkar7 hours agoMicrosoft EmployeeNew27Views5likes0CommentsAllow NotebookUtils getSecret() to authenticate with Workspace Identity
Current behavior In Microsoft Fabric, notebookutils.credentials.getSecret() authenticates against Azure Key Vault using the identity of the user who executes the notebook. This behavior appli...tmihara8 hours agoNew MemberNew21Views1like1Comment