Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a normal table, wich have some real columns and 1 column is calculated.
By now, I am making this calculated column like this:
CalculatedColumn = "12-25-2018"
But Im trying to make it dynamic. I receive that values from a FILTER that cames from Power BI Embedded, like the following code:
filters: [{ $schema : 'http://powerbi.com/product/schema#basic', target : { table : 'Calendar', column : 'Date' }, operator : 'In', values : [date], filterType : 1 }]
And on Power BI, I used the following DAX for calculated column:
CalculatedColumn = SELECTEDVALUE(Calendar[Date])
But the CalculatedColumn receives a blank, but the filter is correct on Power BI Embedded.
Someone knows how to create a calculated column that receives a external value?
@gluizqueiroz seems like you are trying to set default value for date? Is this your intend?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hey @parry2k!
So so man!
Until now I set a default value on Power BI, but now I wanna that value is dynamic, how? The user is set a date outside my application and the dashboard loads with this value setted by user outside the application.
Do you understand? Its a little bit hard to explain, if you have doubts, I will answer then.
@gluizqueiroz let's first clarify basic stuff, are you looking for solution for embed or powerbi desktop/service?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@parry2k I'm not looking for a specific solution. If it comes from a embed solution or powerbi desktop solution, its nice for me. I can resolve this problem using DAX or something like that or changing the code on embed. Not a specific.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
2 | |
2 | |
1 | |
1 |