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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.