Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in BI by (11.1k points)

I am having a scenario and want to pass parameter values in calculated columns and there should not be any relationship between parameter table and master table

And this are the calculated columns which I have created

Title = 
var related_year = Parameter[Parameter Value]
var date_closed = Roles[Date Closed]+365
var if_1 = if(Roles[Status] = "Open", date_closed,Roles[Date Closed]) 
var if_2 = if(related_year = YEAR(TODAY()),TODAY(),date(related_year,12,31))
return if((if_1>if_2),title,0)

How can I pass parameter value without any relationship in the model as Tableau? 

1 Answer

0 votes
by (22.5k points)

It will be calculated at the time when the table is loaded,becasue it cannot be dynamically responsive

Want to learn more about Power Bi, Refer & learn Power bi

Also, check out our YouTube video to know the data visualization basics and best practices with Power BI

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Feb 10, 2021 in BI by Chris (11.1k points)

Browse Categories

...