Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I have created a single item query in Power Query:
I'm trying to reference it in some DAX calculations. I'd be grateful if anyone could help me get the correct syntax:
Many Thanks
Solved! Go to Solution.
Hi @mrandall86
I would suggest:
ReportDate = SELECTEDVALUE ( _ReportDate[_ReportDate] )
This returns the single visible value in a column (if there is a single value) otherwise blank (by default).
Does this work for you?
Hi @mrandall86 ,
I created a table myself and implemented what you showed in Power Query.
It looks like you want to show the first row of tabular data, and you're going from Power Query to DAX. I think you can create the following Measure.
Measure = FIRSTNONBLANK('Table'[ReportDate],1)
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @mrandall86 ,
I created a table myself and implemented what you showed in Power Query.
It looks like you want to show the first row of tabular data, and you're going from Power Query to DAX. I think you can create the following Measure.
Measure = FIRSTNONBLANK('Table'[ReportDate],1)
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks Yilong,
This works and your instructions were very easy to follow. I appreciate your time and efforts.
Hi @mrandall86
I would suggest:
ReportDate = SELECTEDVALUE ( _ReportDate[_ReportDate] )
This returns the single visible value in a column (if there is a single value) otherwise blank (by default).
Does this work for you?
Thanks so much for taking the time! This works and I understand why, which is nice 👍
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
8 | |
6 |
User | Count |
---|---|
14 | |
13 | |
11 | |
9 | |
9 |