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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
patilpoonam21
Helper I
Helper I

DAX calculation ignoring one column

Hi,

In the below table, I have added 'Index' column which is incremented by 1.

Currently I am calculating number of rows using below formula:

Greater_than_100_Count_Annual = CALCULATE(Count(Table1[Index]), FILTER(Table1, [Annual Att]>=1))
I want get the count of Index by ignoring last column i.e 'Measure_weight'.
Is there any way to achiee that using DAX? 
Thanks in advance!
Indexemp_IdParticipant_idmeasureAnnual AttMeasure_weight
111111booking0.60.4
212123revenue0.30.3
312123revenue0.30.3
414153booking1.20.8
51432Opportunities1.40.7
61544booking1.20.5
71544booking1.20.5
3 REPLIES 3
v-tianyich-msft
Community Support
Community Support

Hi @patilpoonam21 ,

 

Not quite sure what you need, I'm presuming you need to return the value of index.

Your measure(It gives the count):

vtianyichmsft_0-1703488362391.png

You can try below:

vtianyichmsft_1-1703488417188.png

 

Please feel free to correct me and provide more information if I have misunderstood you!

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

 

ryan_mayu
Super User
Super User

what do you mean ignore the last column?

what's the expected output based on the sample data you provided?





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

Proud to be a Super User!




The expected output should be based on below table:

Count of index whose Annual Att>1. Is there any wany to calculate that in the DAX without creating summarized table?

Currently, I have created below summarized table and created relationship between the above main table and below summarized table based on emp_id, participant_id and measure column.

Thank you!

 

Indexemp_IdParticipant_idmeasureAnnual Att
111111booking0.6
212123revenue0.6
314153booking1.2
41432opportunities1.4
51544booking2.4

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.