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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
thmonte
Helper IV
Helper IV

Using Paginated Report Builder and Existing DAX for Matrix Table

I recentely watched this video:

 

https://youtu.be/_uAP8GN6kCI

 

It explains how to get up and running with paginated reports at a basic level.  I have my PowerBI report built and fully customized but I need a printer friendly experience.  I've connected to my PowerBI Data Source from the existing report,  I created a new dataset and copied in my DAX from my PowerBI report but when I go to insert the Matrix every field is blank.  I don't know if I am missing a step or what.  I can supply the DAX if needed to view but rather do it privately if possible.

 

Here is the error when I run the paginated report

 

The CommandText expression for the query ‘DataSet1’ contains an error: [BC30451] 'DEFINE' is not declared. It may be inaccessible due to its protection level.
----------------------------
The definition of the report '' is invalid.
----------------------------
An error occurred during local report processing.

1 ACCEPTED SOLUTION
thmonte
Helper IV
Helper IV

I actually found the answer in another video.  The original video has an error in the steps.  You must go to the Query Designer first to paste the DAX you can't just paste the dax from the expression button.

 

https://www.youtube.com/watch?v=NfoOK4QRkhI&list=PLx7LcKtN_gq-JVzM6L8xNNxX7kts-KflJ&index=13&t=0s

View solution in original post

1 REPLY 1
thmonte
Helper IV
Helper IV

I actually found the answer in another video.  The original video has an error in the steps.  You must go to the Query Designer first to paste the DAX you can't just paste the dax from the expression button.

 

https://www.youtube.com/watch?v=NfoOK4QRkhI&list=PLx7LcKtN_gq-JVzM6L8xNNxX7kts-KflJ&index=13&t=0s

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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