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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
mehmetali
Frequent Visitor

create a new table or not

Hi,

 

I have a table with following data named custSales

 

customer code  date  amount  channel

 

In my report I have matrix visual showing the number of rows without channel detail. below is the measure I am using for that

 
number of rows = COUNTROWS(
    SUMMARIZE('custSales',[customer code],[date],"total amount",SUM(([amount])))
)
 
because the table is big, it takes time every time it loads, or change a slicer etc. but i can live with that. but still I am curious about what would be the best practice in this case regarding performace for the end user.
 
  1. use as is
  2. create a new table with the dax above, and then count the rows of that new table
  3. create the new table with power query
  4. get the data without channel from the source system (in this case go to source twice and get the same data with and w/o channel)

thank you very much for your time

2 REPLIES 2
amitchandak
Super User
Super User

@mehmetali , where are you checking channel is blank

 

Numbers of rows without channel details can be

 

COUNTROWS(filter(custSales , isblank(custSales[Channel]) ) )

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi, thank you very much for quick return. i think a small sample data would be better.

 

customer code  date  amount  channel
c101.01.20221001
c102.01.20222502
c103.01.20221201
c103.01.20221452
c203.01.2022903

 

based on this data I want to return 4 as result.

 

regards,

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors