Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
The source data is like below.
| Date | Value |
| Mar 2023 | 1 |
| Apr 2023 | 1 |
| May 2023 | 2 |
| Jun 2023 | 2 |
| Jul 2023 | 2 |
Using the data, I want to define a measure that shows the value of the first month, whether the values are shown by months, by quarter, or by year.
For example, in case of shown by quarter, it would look like below. Q1 is empty because there is no data for Jan. Q2 is 1 which is from Apr. Q3 is 3 which is from Jul.
| Q1 | Q2 | Q3 |
| 1 | 2 |
LIkewise, when shown by year, it would look like below because the value for Jan is null (not exist).
| 2023 |
I was able to show Q2 and Q3 values correctly by using FIRSTNONBLANKVALUE() like below. (pleae ignore why I use MINX. it is for other reasons)
FIRSTNONBLANKVALUE = FIRSTNONBLANKVALUE(Dates[Date], MINX('Fact', 'Fact'[Value]))
Solved! Go to Solution.
I was able to figure it out. Shareing the result hopeng it could help somebody else in future
I was able to figure it out. Shareing the result hopeng it could help somebody else in future
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |