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
Hello dear friends,
After 3 days of desperate efforts, I decided to seek for help.
I have 2 data sources (1 that we receive every month and 1 that is annual/stable where we have all the 12 months).
I would like to create a Forecast table with 12 columns for each month with only 1 condition.
The condition is the following: if we have the monthly table for a specific month then take the values of that very table. Otherwise, if we don't have it yet, then temporarily take the values of the annual table.
How can I achieve that if anytime when I try to create an "IF" mesure, I don't see any notion of "Month" among my choices to use in my formula?
Thank you in advance for your precious time and attention.
Piece out !
Hi, @Anonymous
Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous Have you tried using the DATE function along with your IF function?
Example Measure =
IF ( VALUES ( Table[Date Column] ) = DATE ( 2023, 11, 8 ), 1, 0 )
Hi @Anonymous
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 60 | |
| 43 | |
| 40 | |
| 37 | |
| 22 |
| User | Count |
|---|---|
| 178 | |
| 127 | |
| 116 | |
| 77 | |
| 54 |