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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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