Quantcast
Channel: Service topics
Viewing all articles
Browse latest Browse all 62656

Troubleshooting DAX Query Error in Fabric

$
0
0

While executing a DAX query in a Fabric notebook, an error occurred. The query was intended to evaluate and select specific columns from the 'Inventory Item Coverage' table. The code snippet used is as follows:

query =""" 
EVALUATE
SELECTCOLUMNS(
'Inventory Item Coverage',

"Minimum", 'Inventory Item Coverage'[Minimum],

"Maximum", 'Inventory Item Coverage'[Maximum]
)
"""
df_inventory_coverage = fabric.evaluate_dax(query, workspace="ff252d1e-ac76-4df5-8a81-3ca36c28fb5f")

 Also, I tried this code as well, it does not work:

query = """

EVALUATE

SELECTCOLUMNS(

'Inventory Item Coverage',

"Minimum", 'Inventory Item Coverage'[Minimum],

"Maximum", 'Inventory Item Coverage'[Maximum]

)

"""

df_inventory_coverage = fabric.evaluate_dax(query, workspace="ff252d1e-ac76-4df5-8a81-3ca36c28fb5f")]
Here is the error posted: 
js15_0-1740679286999.png

 

 

 

Can someone help me verify if the table name 'Inventory Item Coverage' and the columns 'Minimum' and 'Maximum' are correctly referenced in my DAX query? Thanks
 

Viewing all articles
Browse latest Browse all 62656

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>