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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Ruben_vdk
Regular Visitor

Error when using Date.From in calculated table

I'm trying to follow the instruction here (set default slicer value to current month in PowerBi)

 

However, when I want to use the function below, it gives an error (when hovering over the formula it says (Date.from is not a function). What am I doing wrong?

Ruben_vdk_0-1675068890949.png

 

1 REPLY 1
serpiva64
Solution Sage
Solution Sage

Hi,

The formula you are using is for power query (and in power query it functions).

In dax you ha to use 

Column = TODAY()
If this post is useful to help you to solve your issue, consider giving the post a thumbs up and accepting it as a solution!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.

Top Solution Authors