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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
David_1970
Frequent Visitor

Creating measure

 

How do I return a table excluding all rows where [Revenue] is blank, see example below. Which DAX function?

CustomerRevenueDisbursementDateMonth
1156 201701
236518201702
3 32201703
3 69201704
215254201705
532521201706
414569201707
226258201708
3 45201709
632652201710
152 201711
1123 201712
3 ACCEPTED SOLUTIONS
Ashish_Mathur
Super User
Super User

Hi,

 

This can be done without a DAX formula.  In Power Query, one can simply filter the revenue column on >0.


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

View solution in original post

Phil_Seamark
Microsoft Employee
Microsoft Employee

Hi @David_1970

 

Please try this calculated table

 

NewTableName = 
        FILTER(Table1,
		'Table1'[Revenue]<> BLANK()
		)

To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @David_1970,

As I tested, the formula @Phil_Seamark posted is right. Please click "New Table" under modeling on Home page(highlighted in yellow background), type the formula, you will get expected result. 

Table = FILTER(Table1,Table1[Revenue]<>BLANK())


1.PNG

Best Regards,
Angelia

View solution in original post

4 REPLIES 4
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @David_1970,

As I tested, the formula @Phil_Seamark posted is right. Please click "New Table" under modeling on Home page(highlighted in yellow background), type the formula, you will get expected result. 

Table = FILTER(Table1,Table1[Revenue]<>BLANK())


1.PNG

Best Regards,
Angelia

Phil_Seamark
Microsoft Employee
Microsoft Employee

Hi @David_1970

 

Please try this calculated table

 

NewTableName = 
        FILTER(Table1,
		'Table1'[Revenue]<> BLANK()
		)

To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Ashish_Mathur
Super User
Super User

Hi,

 

This can be done without a DAX formula.  In Power Query, one can simply filter the revenue column on >0.


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

NewTableName = SUMMARIZE(
        FILTER(Table1,'Table1'[Field1]<> BLANK()),
            'Table1'[Field1],
            ‘Table1’[Field2]
             etc.

                )

www.CahabaData.com

Helpful resources

Announcements
Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.