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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Seantoh
Frequent Visitor

How to solve to problem? Count

       

Hi all,

 

May i know,

* what should i do if i want to know how many in total for "Number 1", "Number 2" until "Number 9999" ?

  can i do it in query editor before apply?

* what should i do if i want to know how many "Number 1" appeared in Jan, Feb, Mar, until Dec?

  can i do it in query editor before apply?

Screenshot_1.jpg

Appreciate for help!

Thanks

 

Regards

sean

 

3 REPLIES 3
v-jiascu-msft
Microsoft Employee
Microsoft Employee

@Seantoh,

 

Hi Sean,

 

Did you fail to do it with DAX? These two question is simple to handle with DAX. How much memory do you have?

Q1. Drag the column "Num" to the fields of a table visual twice. Set the first one to "Don't summarize" and set the second to "Sum".

 

How to solve to problem Count1.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Q2.

1) Create an independent date table.

DateTable =
CALENDAR ( DATE ( 2017, 1, 1 ), DATE ( 2017, 12, 31 ) )

2) Establish relationship between DateTable[Date] and YourTable[Date].

3) Drag the DateTable[Date] and YourTable[Num] to the fields of a table visual. 

4) Set date to hierarchy of Year-Month and set [num] to count.

5) Filter out "Number 1".

 

How to solve to problem Count2.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Best Regards!

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Vvelarde
Community Champion
Community Champion

@Seantoh

 

Hi, you can do it with Group By (Transform Menu)

 

Regards

 

Victor

Lima - Peru




Lima - Peru

hi victor,

 

i tried. evaluate out of memory. sad.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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