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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 18 | |
| 12 | |
| 11 |