Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi Team,
Is it possible to create Measure in Power Bi Report not in Semantic Model using Javascript SDK or REST APIs? if yes, please share the example or documentation link for reference.
Solved! Go to Solution.
In Power BI, a measure lives in the semantic model (dataset), not in the report layer. Because of that, you can’t create a new measure “inside a report” using the JavaScript embedding SDK or the standard Power BI REST APIs. The JS SDK is meant for embedding and interaction (filters, pages, bookmarks, etc.), not for changing the model metadata.
The quick answer is no. As mentioned above, you would only be able to create measures in the semantic model. One of the ways to do this is to use a notebook.
Hi @jaffer0786 ,
We would like to confirm if our community members answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.
Thank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are
MS Fabric community support
Hi @jaffer0786
We would like to confirm if our community members answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.
@GilbertQ, @cengizhanarslan & @tayloramy, Thanks for your prompt response
Thank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are
MS Fabric community support
Thanks Taylor for above details. It helps.
The quick answer is no. As mentioned above, you would only be able to create measures in the semantic model. One of the ways to do this is to use a notebook.
In Power BI, a measure lives in the semantic model (dataset), not in the report layer. Because of that, you can’t create a new measure “inside a report” using the JavaScript embedding SDK or the standard Power BI REST APIs. The JS SDK is meant for embedding and interaction (filters, pages, bookmarks, etc.), not for changing the model metadata.
Thanks
Hi @jaffer0786,
All measures exist in the semantic model layer of Power BI.
The semantic model is where all data mapping/manipulation happens, so it is not possible to make measures not in the semantic model.
Proud to be a Super User! | |
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.