cancel
Showing results for 
Search instead for 
Did you mean: 
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 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 beyond their comprehension!

DAX is simple, but NOT EASY!

CNENFRNL
Super User
Super User

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 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 beyond their comprehension!

DAX is simple, but NOT EASY!

Helpful resources

Announcements
September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Dev Camp Session 26

New Date - Check it Out!

Mark your calendars and join us on Thursday, October 6 at 11a PDT for a great session with Ted Pattison!

Top Solution Authors