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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Anonymous
Not applicable

Intelligent Headers for DAX

Hi @all,

 

For our report I have following challenge.

 

For every month I need a sum of forcast. Because there is no column with a date available I only have 

the column headers which indicates the month. [See below]

 

Is there a way that a DAX formular reads these headers and compair it with a time intelligence function in 

order to return the forcast value of the current month.

 

As far as I learned the table is not stable so that the column positions are changing, a VLOOKUP might not 

be possible.

 

ItemForcast SEPForcast OCT
A123321
B456654
C789321

 

Thank you so much for your help in advance.

 

Felix

1 ACCEPTED SOLUTION
v-qiuyu-msft
Community Support
Community Support

Hi @Anonymous, 

 

You can go to Query Editor, select Forcast SEP and Forcast OCT columns then click on Unpivot Columns button to get below results: 

 

w1.PNGw2.PNG

 

Then split the Attribute column to get month name in a separate column. After you apply these changes, you can use DAX based on this month column with date table to achieve your requirement. 

 

w3.PNG

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-qiuyu-msft
Community Support
Community Support

Hi @Anonymous, 

 

You can go to Query Editor, select Forcast SEP and Forcast OCT columns then click on Unpivot Columns button to get below results: 

 

w1.PNGw2.PNG

 

Then split the Attribute column to get month name in a separate column. After you apply these changes, you can use DAX based on this month column with date table to achieve your requirement. 

 

w3.PNG

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.