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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Ber001
Regular Visitor

DAX Operation for a mesure

Dear,

I'm getting crazy with a simple operation.

Table Product

Culunm 1 is the key culumn with the name of the product

Column 2 is a date

Column 3 is Custom Column (Number) with the result of Date.Month (Date) in powerquery

 

Culumn 1      I     Date      I   Month

Product 1      I 1/2/2021   I     2

Product 2      I  3/4/2021  I     4

 

Then, I just want to add a mesure with a simple multiplication : Product[Month] * Month(Now())

But I canont use Product[Month] value... I don't know why.

When I write Product[...   I just can use the other mesures of my table but not the Column values...

I tried with Related() but it doesn't work either.

Thank you for your help

Bertrand

 

 

2 REPLIES 2
Anonymous
Not applicable

@Ber001 

 

Are you trying to create a measure or a calculated column? These are two different things. If you want a measure, then you have to describe how it should aggregate data when more than 1 row is visible in the context. You have not done it, so a measure can only be a mere guess...

Jihwan_Kim
Super User
Super User

Hi, @Ber001 

 

Please try the below measure.

 

new measure = SELECTEDVALUE('Table'[Month]) * MONTH(NOW())
 

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster.


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.