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
Wasfiathhar
Frequent Visitor

Filter with many condition - DAX

I have have follwoing Table, the Invoice number with Dr/Cr Column, need to filter the common colum where invoice number duplicated with Dr/Cr. need summery similar to Screen shot 02.

 

pls advcie how to perform the DAX Formula.

Screen shot 01

Wasfiathhar_0-1648409221829.png

 

Screen shot 02

Wasfiathhar_1-1648409453666.png

 

 

1 ACCEPTED SOLUTION

CNENFRNL_1-1648547221574.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

9 REPLIES 9
Ashish_Mathur
Super User
Super User

Hi,

You can also solve this in the Query Editor using the Pivot Column feature.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Wasfiathhar_0-1648457201563.png

from this table need to find the invocies number with duplicate then both side with "Dr/Cr" to be filtered further. any idea how i can perform by DAX, need the exzpeprt solution,

in my cases Power Query will not work, as individual colmn from differnt table merged.

Hi,

Share the download link of your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi,

You already have the visual that you want.  What additional requirement do you have?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

CNENFRNL_1-1648547221574.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!

CNENFRNL
Community Champion
Community Champion

Drag and drop those columns to a Matrix viz, voilà, that's all.


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!

If I drag and drop other additional Column  with Dr/Cr also will be available. How we can remove. Correct me if I'm wrong

A simple measure is enough; but I don't bother to author a single measure if the thread initiator doesn't provide any mock dataset.


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.