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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
adciudad
Helper II
Helper II

calendar

Is there a calendar table that can be used directly?

1 ACCEPTED SOLUTION

Hi @adciudad ,

>the problem is that when loading that table it happens to the mixed mode, losing the direct mode

It is caused that calculated tables are not supported in DirectQuery mode. You could reference the document : Using DirectQuery in Power BI to learn more limitations about it.

6.PNG

 

>i when publish the report, app.powerbi.com requiere a gateway

For data sources other than Azure SQL Database, Azure SQL Data Warehouse and Redshift that use DirectQuery, an On-premises data gateway must be installed and the data source must be registered to establish a data connection. Due to your storage mode is dual mode (import & direct query), the report need to match a gateway. More details, you could reference the document: https://docs.microsoft.com/en-us/power-bi/desktop-use-directquery#publish-to-the-power-bi-service 

 

Best Regards,

Xue Ding

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

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

View solution in original post

5 REPLIES 5
Nathaniel_C
Super User
Super User

Hi @adciudad ,

Try this:

https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/


Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




the problem is that when loading that table it happens to the mixed mode, losing the direct mode

i when publish the report, app.powerbi.com requiere a gateway

What I don't understand is why I need a gateway for a table that is generated in dax, that is, no data is taken from any server

Hi @adciudad ,

>the problem is that when loading that table it happens to the mixed mode, losing the direct mode

It is caused that calculated tables are not supported in DirectQuery mode. You could reference the document : Using DirectQuery in Power BI to learn more limitations about it.

6.PNG

 

>i when publish the report, app.powerbi.com requiere a gateway

For data sources other than Azure SQL Database, Azure SQL Data Warehouse and Redshift that use DirectQuery, an On-premises data gateway must be installed and the data source must be registered to establish a data connection. Due to your storage mode is dual mode (import & direct query), the report need to match a gateway. More details, you could reference the document: https://docs.microsoft.com/en-us/power-bi/desktop-use-directquery#publish-to-the-power-bi-service 

 

Best Regards,

Xue Ding

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

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

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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