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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
aetl
Frequent Visitor

Tabular Model Field Parameter Create

Hello Everyone ,

 

I created a dashboard on Power BI Desktop which is import mode . Then I migrated to it with SSAS Tabular Model.I couldn't create Field Parameter on Tabular Model.it is not Direct Query Mode. Parameter table dax code is below :

Parameter Table = {
     ("Count of Product", NAMEOF([Count of Product]), 0,"Product",1),
    ("Sum Of Product", NAMEOF([Sum of Product]), 1,"Product",1)
}
 
it gives an error on NAMEOF function. I read some posts but it didn't work . How can i use Field parameter in Tabular Model ?
 
Regards,
 
2 REPLIES 2
Anonymous
Not applicable

Hi @aetl 

 

Can you provide a screenshot of the error details? So that we can help you better. Please remove any sensitive data in advance.

 

Best Regards,
Yulia Xu

 

 

aetl
Frequent Visitor

Hello ,

NAMEOF function is not listed in Visual Studio . 

 

My Current Vs Version :

Microsoft Visual Studio Community 2022 (64-bit) - Current
Version 17.9.0

 

DB :

Sql Server 2019

 

Analysis Server :

 

aetl_0-1707866439577.png

 

On the other hand  i tried on my personel computer then it shows me  nameof function .

My Personel Computer :

 

Visual Studio 2022 and SQL SERVER 2022 

 

i couldn't figure out  this issue.

 

Regards

 

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Users online (27)