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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
carloP24
Frequent Visitor

How to reference, in a Power Pivot measure, to a single fixed value present in a table

Hi everyone,

 

I'd like to preface that I inserted this post also in the Power Query forum, since I thought it could be more coherent for this topic, but it was pointed out to me that this is more of a DAX forum topic (that was the other forum I was considering obviously), so I insert it also here.

 

Here it is the issue:

 

I have created a measure in Power Pivot on which I need to reference to a single value (fixed value) present in a table (which is in the data model): the value is a date and I use it for a YEARFRAC calculation within the measure.

 

In practice, I would need to reference to the value present in the first row - second column of the below table (that is 31/12/2023)...

 

carloP24_0-1705675628460.png

 

 

...within the below measure (that I have created in anoter table present in the data model, the first one that you can see among the tabs of the first screen), instead of the "30/09/2023" value inserted manually.

 

carloP24_1-1705675628463.png

 

 

 

Thank you very much for any help!

1 ACCEPTED SOLUTION
some_bih
Super User
Super User

Hi @carloP24 how first rowm, 31/12/2023, should be filtered? Like max of all the Column2 or something else?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






View solution in original post

3 REPLIES 3
some_bih
Super User
Super User

Hi @carloP24 how first rowm, 31/12/2023, should be filtered? Like max of all the Column2 or something else?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






Hi @some_bih! Thank you very much, using MAX function actually resolves my issue! The two dates in the column are always the last quarter and the previous one, so with MAX and MIN you can reference between the two indeed! So, I'm going to accept your hint as a solution, but is it possible to reference to a specific value (e.g. through row, column) of a table? For example if I have four different values instead of two as in this case, or if MAX and MIN approach would not  be sufficient.

 

Thank you very much once again!

Hi @carloP24 I am glad if my reply help you. 

In general if there is definition, like data already in columns, wanted output (later somehow input) shoud not be issue





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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