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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
BhavyaM
Helper V
Helper V

Dynamic datetime parameter using table

I have two tables, Maxdate - which is having single datetime column with one row and Userdate with single datetime column with multiple rows.

 

I have to apply maxdate table as a dynamic parameter to the datetime column in userdate table

how to get this, waiting for the help 

BhavyaM_0-1689833221577.pngBhavyaM_1-1689833248164.png

 

BhavyaM_2-1689833327110.png

 

 

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

MaxDate is a table but you want the value from that table.

Try replacing

[SystemModstamp] <= MaxDate

with

[SystemModstamp] <= MaxDate[MaxDateTime]{0}

This takes the first (index 0) row of the MaxDateTime column of the table.

View solution in original post

11 REPLIES 11
Syndicate_Admin
Administrator
Administrator

It works fine when I test something similar on my machine, so I'm not sure what's going wrong.

AlexisOlson_0-1692718006083.png

What exactly did you put in the formula bar?

Syndicate_Admin
Administrator
Administrator

MaxDate is a table but you want the value from that table.

Try replacing

[SystemModstamp] <= MaxDate

with

[SystemModstamp] <= MaxDate[MaxDateTime]{0}

This takes the first (index 0) row of the MaxDateTime column of the table.

thank you so much for the help

BhavyaM
Helper V
Helper V

Can anyone please help

 

Hi  @AlexisOlson

 

Please help

 

Thanks in advance'

pankaj_lp
Helper I
Helper I

the report has only the max date table 

 

No Maxdate and Userdate ... Two tables it has... Max date having one row date which I have to convert into parameter and then use it as a dynamic filter in the userdate table

 

pankaj_lp
Helper I
Helper I

can you share the file excluding the non sensitive data

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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