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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

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
Anonymous
Not applicable

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.