Forum Discussion
carloP24
2 years agoFrequent Visitor
Power Pivot reference to a single fixed value present in a table
Hi everyone, I have created a measure in Power Pivot where I need to reference to a single value (fixed value) present in a table in the data model: the value is a date and I use it for a YEARFRA...
carloP24
2 years agoFrequent Visitor
Thank you very much for your help!
Your suggestion was helpful though, but actually what I really need is reference to a value in a query table (the date) within a measure in Power Pivot instead of use "30/09/2023" putted manually (as you can see the "Date" table is present in the data model so that I can use it in Power Pivot).
serpiva64
2 years agoSolution Sage
as you can see here
#"Solution 2 step 1" is not an hardcoded value but the value the value present in the first row - second column of the below table (that is 31/12/2023)
- carloP242 years agoFrequent Visitor
Hi,
Mmmm, ok, but I would like to know how to reference to that value within my Power Pivot measure (in particular in the YEARFRAC calculation of the measure) and, preferably, how to do it using the original "Date" query table.
Thank you!