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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Apply Parameter

I am using an Analysis Services database and I intend to only return data for a given year.
For this, I am using the following syntax ...

{Cube.ApplyParameter, "[DimensioName]. [Column]. [Column]", {"2021"}}

But when I put this syntax, it gives me an error and says that the key did not match any lines in the table.
Can you help me with this topic?
Thanks in advance for the answer

 

example2.pngexample1.jpg

1 REPLY 1
v-stephen-msft
Community Support
Community Support

Hi @Anonymous ,

 

I found some similar posts you can refer to

Expression Error.: The key didn't match any rows in the table

how to resolve Power BI error - the key didn't match any rows in the table

Expression.Error: The key did not match any rows in the table

Expression.Error: The key did not match any rows in the table

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors