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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Medo
Frequent Visitor

DAX For counting strings - Help with DAX

Hi Folks, I need small help with this one please 😞 

IF I have below table:

POP timeItemsFrequency 
4item1 
7item2 
21item3 
16item4 
8item5 
11item6 
10item7 
5item8 
7item9 
17item10 
5item11 
2item12 
5item13 
6item14 
3item15 
20item16 
5item17 
6item18 
12item19 
5item20 
7item21 
10item22 
3item23 
2item24 
 TOTAL # 


I want to find the count of items per POP Time 
for example in POP TIME 5 there are 5 count of items

5item8
5item11
5item13
5item17
5item20

and in POP Time 10 there is 2 Items 

10item7
10item22


After that I'll get :

POP timeCount Of Items
55
102
3and so on
11


The finel equation is frequency =  Count of Items per POP TIME divided by ( / ) Total# (Total count of Items for each POP Time. 

I need to find if there is a way in DAX to create such calculation. 

Hope it's clear and thanks to all suggestions:)

1 ACCEPTED SOLUTION
SpartaBI
Community Champion
Community Champion
5 REPLIES 5
SpartaBI
Community Champion
Community Champion

Medo
Frequent Visitor

@SpartaBI Thanks for the quick response, I think yes that's exactly what I'm looking for in the frequency, if the item count is counting the strings count per POP time

 
 
 
 
SpartaBI
Community Champion
Community Champion

@Medo hey, cool. I shared a link to download the file in my previous response 🙂
Please don't forget to accept that reponse as a solution.

Medo
Frequent Visitor

Thanks a lot @SpartaBI 😊

SpartaBI
Community Champion
Community Champion

@Medo my pleasure 🙂
Hey, check out my showcase report - got some high level stuff there. Sure you will find there a lot of cool ideas. 
https://community.powerbi.com/t5/Data-Stories-Gallery/SpartaBI-Feat-Contoso-100K/td-p/2449543
Give it a thumbs up over there if you liked it 🙂

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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