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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
AshDil
Helper V
Helper V

Want to count ID with more sales compared to Target

Hi,

I have two tables, one with sales and other with target.

Table-1:

IDSALES
10012000
1002100
1003500
10101000
10051500

Table-2:

ID_NOTARGET
10011000
1002500
10031200
1010800
10051000

 

Now I wanted to count ID having sales morethan target

Eg: For ID = 1001, Sales = 2000 and Target = 1000 we need to count that ID.

 

Please help me to do it.

 

Thanks,

AshDil

1 ACCEPTED SOLUTION
CNENFRNL
Community Champion
Community Champion

CNENFRNL_0-1655539789639.png

 

A showcase of powerful Excel worksheet formula,

CNENFRNL_0-1655539918967.png


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

View solution in original post

1 REPLY 1
CNENFRNL
Community Champion
Community Champion

CNENFRNL_0-1655539789639.png

 

A showcase of powerful Excel worksheet formula,

CNENFRNL_0-1655539918967.png


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.