Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
rohanghule12
Frequent Visitor

How to write import query for measures.

Please provide me import query for measures. I am able to fetch column and calculate column but facing issues while writing for measures. 

Please provide me syntax for measures

3 REPLIES 3
Mahesh0016
Super User
Super User

@rohanghule12  as per my experience, in Measure write aggregated function. We can not write a direct column in measure. Thank You!! 

  • Hello Mahesh, Actually I have report which is on live connection. Now I am changing to import mode where I am writing a DAX query to fetch data from SQL server. I am able to write and fetch calculate column but not able to write for measures getting syntay errors.

@rohanghule12 are you successfully loading your data in the power bi desktop with import data?
and if you succeed so please share your error Snap Shot for better understanding.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.