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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

DAX Formula

hi experts, 

 

Having trouble to creat a meature to match a vlaue

 

newcmeaure = Tablename[columnname] = 'Agreed'

I ma haviung trouble to get the syntax right, urgent thanks 

 

 

 

 

 

1 ACCEPTED SOLUTION

Hi @Anonymous,

 

Sorry not sure what you are trying to accomplish with this measure, a measure that calculates a value would look something like:

measure = Calculate(sum('table'[column]), 'table'[column] = "value")


I hope this helps,
Richard

Did I answer your question? Mark my post as a solution! Kudos Appreciated!

Proud to be a Super User!


View solution in original post

5 REPLIES 5
richbenmintz
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

 

Are you able to provide a sample pbix file, not sure I understand your requirement and the data generally makes things clearer



I hope this helps,
Richard

Did I answer your question? Mark my post as a solution! Kudos Appreciated!

Proud to be a Super User!


Anonymous
Not applicable

hi thnaks for your reply I managed to figure it out , it was a wrong descriptuon , sorry but I am having trouble now to get the right syntax for my new meaure , I appriciate any help

I cant get this right 

newmeaure = (tablename[columnname] = 'Agreed'

Hi @Anonymous,

 

Sorry not sure what you are trying to accomplish with this measure, a measure that calculates a value would look something like:

measure = Calculate(sum('table'[column]), 'table'[column] = "value")


I hope this helps,
Richard

Did I answer your question? Mark my post as a solution! Kudos Appreciated!

Proud to be a Super User!


Anonymous
Not applicable

Thanks for quick respond , new in DAX and I hope I can use your experties more 🙂

@Anonymous,

 

You may also take a look at https://www.sqlbi.com/articles/filter-arguments-in-calculate/.

 

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Kudoed Authors