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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
rohitjmd
Helper II
Helper II

need help

i am working on a respondent data where i have names of apps installed along with thier category. Could anyone suggest how to bulid a graph to show cateogry wise counts for these cuts- more than 10 apps installed, 8-10 apps installed, 7 apps, 6 apps and so on. eg: if shopping is the category, i want to see count of users with more than 10 apps, 8-10 apps and so on.

 

App NameCategory
AppStationLIFESTYLE
HiCareTOOLS
PayPalFINANCE
Child SupportPRODUCTIVITY
Bitkong 
DropboxPRODUCTIVITY
com.android.incallui 
com.android.settings 
Adobe AcrobatPRODUCTIVITY
OneDrivePRODUCTIVITY
'Domino''s'LIFESTYLE
FacebookSocial Networking
Secure FolderBUSINESS
ExcelPRODUCTIVITY
Android AutoAUTO_AND_VEHICLES
Google+SOCIAL
RainbowKeyPERSONALIZATION
Sound MeterTOOLS
TolunaSOCIAL
HearthstoneGAME_CARD
MessengerCOMMUNICATION
Samsung InternetCOMMUNICATION
com.android.noisefield 
com.samsung.android.allshare.service.mediashare 
com.samsung.android.app.gestureservice 
com.sec.hearingadjust 
Calculator 
Harry PotterGAME_ADVENTURE
'Salsa''s Fresh Mex'LIFESTYLE
SnapchatSOCIAL
YouiFINANCE
Sydney & NSW NewsNEWS_AND_MAGAZINES
One Line AdvancedGAME_PUZZLE
SBTVENTERTAINMENT
OneNotePRODUCTIVITY
Amazon ShoppingSHOPPING
PowerPointPRODUCTIVITY
English Listening SpeakingEDUCATION
CommBankFINANCE
Spotify MusicMusic
Email 
Clock 
OneDrivePRODUCTIVITY
Spotify MusicMusic
EdgeFINANCE
ProtractorTOOLS
S Voice 
com.android.bluetoothmidiservice 
com.android.defcontainer 
com.android.wallpaper.livepicker 
com.osp.app.signin 
com.samsung.android.intelligenceservice2 
com.samsung.android.sm.devicesecurity 
com.sec.android.providers.iwlansettings 
com.sec.android.widgetapp.dualclockdigital 
com.sec.enterprise.knox.cloudmdm.smdms 
com.sec.setdefaultlauncher 
Settings 
Downloads 
NetflixEntertainment
7plusENTERTAINMENT
ViewFruitSOCIAL
Google Play servicesTOOLS
Write on PDFPRODUCTIVITY
i-SayENTERTAINMENT
FlyHelper 
com.sec.android.app.bcocr 
com.sec.android.app.snsimagecache 
com.sec.android.app.wfdbroker 
Camera 
MessengerCOMMUNICATION
Pixel ColorENTERTAINMENT
YouTube - Watch Upload and Share VideosPhoto & Video
Game Launcher 
InstagramPhoto & Video
RaizFINANCE
Wish - Shopping Made FunShopping
SnapchatPhoto & Video
Wish - Shopping Made FunShopping
InstagramPhoto & Video
TuneWiki 
SnapchatPhoto & Video
Wish - Shopping Made FunShopping
TinderLIFESTYLE
MalwarebytesTOOLS
AusPostBUSINESS
YouTube - Watch Upload and Share VideosPhoto & Video
FacebookSocial Networking
QR ScannerTOOLS
WasteOfSpaceGAME_SIMULATION
Messages 
OutlookPRODUCTIVITY
Genies & GemsGAME_PUZZLE
BelongTOOLS
FlyHelper | License Key 
Collage Maker Pic GridPHOTOGRAPHY
2 ACCEPTED SOLUTIONS

Hi,

That's easy but then for any category you select, there will only be one bar because there will only be one number per category.  Please clarify.  More importantly, please review the numbers in the left hand side table and met me know whether they are correct.

Untitled.png


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

View solution in original post

Hi,

Download the zipped folder from here.


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

View solution in original post

28 REPLIES 28
Ashish_Mathur
Super User
Super User

Hi,

Is this the result you are expecting?

Untitled.png


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

yes, but a graphical representation, kind of a histogram where i can show no of people fall in each bucket.

Do you want something like this.

Untitled.png


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

yes but categries as drop down not in legend . please suggest how you you did it.

Hi,

That's easy but then for any category you select, there will only be one bar because there will only be one number per category.  Please clarify.  More importantly, please review the numbers in the left hand side table and met me know whether they are correct.

Untitled.png


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

can you suggest how i should do it in my file ?

Hi,

As requested in my previous message, please let me know whether my figures in the left hand side table are correct or not.


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

no its not correct. i am sending the sample data again with a new field device id. So basically what i want to see here how many repsondent have more than 10 apps for a particular category, how many have 8-10 and so on. i hope my question is clear now. Please share your dax expression too as i am also trying to solve the problem and your code would help me.

data

There is no file at that link.


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

hi Ashish here is the data,

Respondent IDDevice IDApp NameCategory

3be34727-042e-40f3-ace7-7c3a1135acfa60af5f231c2f96d1AppStationLIFESTYLE
857d31c3-be20-4ab0-b70e-34389b0623ae8c760f47e4669f29HiCareTOOLS
59a878c8-7086-4539-897c-f25a98581e2016acb9ef91a78ef2PayPalFINANCE
8a29504f-1e32-47aa-b0e7-63095e9a94166ea936607ed7b48eChild SupportPRODUCTIVITY
8a29504f-1e32-47aa-b0e7-63095e9a94166ea936607ed7b48eDropboxPRODUCTIVITY
23d10ced-0e9a-455a-831b-862734fa4eb32024464d620de7a6Adobe AcrobatPRODUCTIVITY
76bfa0e9-a068-4408-9922-61dae0d1861872fb80f822af845dOneDrivePRODUCTIVITY
857d31c3-be20-4ab0-b70e-34389b0623ae8c760f47e4669f29'Domino''s'LIFESTYLE
0f46c1e6-def2-4595-abaf-fe738ce7ccc51CF34B7C-D057-4047-B110-4C6059B953B8FacebookSocial Networking
1a350f86-8d6a-4ad4-b541-8653016674e7eb8cf0459240c516Secure FolderBUSINESS
c3866aca-2232-465d-82f3-ea8726c9638aced9a13f65a1a9dExcelPRODUCTIVITY
c63353e2-baf5-4aa1-9937-b6000061cba93172de358bc937d5Android AutoAUTO_AND_VEHICLES
c63353e2-baf5-4aa1-9937-b6000061cba93172de358bc937d5Google+SOCIAL
c63353e2-baf5-4aa1-9937-b6000061cba93172de358bc937d5RainbowKeyPERSONALIZATION
8a29504f-1e32-47aa-b0e7-63095e9a94166ea936607ed7b48eSound MeterTOOLS
8a29504f-1e32-47aa-b0e7-63095e9a94166ea936607ed7b48eTolunaSOCIAL
66cc64e3-e745-47cf-a04e-7d439200009427d1b6f916a3f393HearthstoneGAME_CARD
66cc64e3-e745-47cf-a04e-7d439200009427d1b6f916a3f393MessengerCOMMUNICATION
66cc64e3-e745-47cf-a04e-7d439200009427d1b6f916a3f393Samsung InternetCOMMUNICATION
f3d3d13b-0cf3-4b61-a352-49a876dd8a65a5770de1adad0b09Harry PotterGAME_ADVENTURE
371fba9f-111b-4edc-8572-3c1788f90bb61bb15eb461e6acf2'Salsa''s Fresh Mex'LIFESTYLE
a9273dd0-9055-49db-8fe9-1551e9216bf5160b182b4d2ce2f0SnapchatSOCIAL
e1445c28-db2e-452b-99ee-7cc3d0724067778d557c85d20aaaYouiFINANCE
c3866aca-2232-465d-82f3-ea8726c9638aced9a13f65a1a9dSydney & NSW NewsNEWS_AND_MAGAZINES
0787145d-4c3c-4a78-9805-2d0fcc93706c847581fab8476e2dOne Line AdvancedGAME_PUZZLE
8a29504f-1e32-47aa-b0e7-63095e9a94166ea936607ed7b48eSBTVENTERTAINMENT
8a29504f-1e32-47aa-b0e7-63095e9a94166ea936607ed7b48eOneNotePRODUCTIVITY
5281627e-149d-4c30-8262-9d662301a55358fd40c60463b70fAmazon ShoppingSHOPPING
3be34727-042e-40f3-ace7-7c3a1135acfa60af5f231c2f96d1PowerPointPRODUCTIVITY
b5a6e7ac-a2db-4884-b838-9a6e050a5644a7d3fc2c27cd0b5dEnglish Listening SpeakingEDUCATION
f3d3d13b-0cf3-4b61-a352-49a876dd8a65a5770de1adad0b09CommBankFINANCE
691fcb32-5295-40a7-aa94-346f4af6e28107947C0A-F351-4E5E-A034-40875EF58CE2Spotify MusicMusic
c3866aca-2232-465d-82f3-ea8726c9638aced9a13f65a1a9dOneDrivePRODUCTIVITY
7974b0bd-a4a3-426b-95ee-37687ac7f1dfA04B9787-49B0-4091-B82D-9D6AF2069573Spotify MusicMusic
9ce9faa7-ffbd-41a4-a565-ea3ba709a6eb89c53367627e7739EdgeFINANCE
8a29504f-1e32-47aa-b0e7-63095e9a94166ea936607ed7b48eProtractorTOOLS
0f46c1e6-def2-4595-abaf-fe738ce7ccc51CF34B7C-D057-4047-B110-4C6059B953B8NetflixEntertainment
d316fabd-f54f-40ca-b602-064dc36a6114e96dc64262e2d60f7plusENTERTAINMENT
c63353e2-baf5-4aa1-9937-b6000061cba93172de358bc937d5ViewFruitSOCIAL
a750543c-3024-430c-81aa-e6b924e296484c476b424c2390e2Google Play servicesTOOLS
0787145d-4c3c-4a78-9805-2d0fcc93706c847581fab8476e2dWrite on PDFPRODUCTIVITY
e1445c28-db2e-452b-99ee-7cc3d0724067778d557c85d20aaai-SayENTERTAINMENT
1546c587-cdb0-430c-8fc8-6addb735349c2265b512b72f5b9aMessengerCOMMUNICATION
29e303fe-f2e9-4460-b35b-f1c703e3fbffb92114bfa68d0203Pixel ColorENTERTAINMENT
b8767189-ea2f-4a34-98ff-45f9dcb607a1C6D8168E-8E78-4C5A-8644-DFD2DFD075F5YouTube - Watch Upload and Share VideosPhoto & Video
3782f793-8cde-42b6-aab4-f52f14e1ea5715D24C90-DF4C-4651-8EDE-25FBD58D9890InstagramPhoto & Video
908723cd-e6a2-4082-9af0-e30baa8659709961bf6e7afcd5faRaizFINANCE
aff1579e-aca2-4807-8f14-e1ec7d4ac1e752D93782-8A4C-47D1-B0D3-353319409108Wish - Shopping Made FunShopping
3782f793-8cde-42b6-aab4-f52f14e1ea5715D24C90-DF4C-4651-8EDE-25FBD58D9890SnapchatPhoto & Video
dee981bc-9d32-4299-90f6-432544557bc8D7371A1D-083C-4B74-9E8A-6DE7ADB21672Wish - Shopping Made FunShopping
f702703f-b293-4212-a215-0c7dacff0eb4BDD481F0-1585-46EC-8959-543572807692InstagramPhoto & Video
f7dc9555-ada9-4fbe-84b4-475010f3d2803A5950B9-9ECE-4FCF-9BBD-E5ECB91E0023SnapchatPhoto & Video
473c853e-fca3-4827-8cb2-df576a5b7884DDE2C857-5AA5-46F7-9A70-AAE501067CD7Wish - Shopping Made FunShopping
9bcae8c4-a775-4dbd-830a-708fbb77fd6af3861eafdac7a3aaTinderLIFESTYLE

Hi,

Is this the result you are expecting?  Please check the numbers.  If my numbers are wrong, then share the correct numbers for some Categories so that i can rewrite my formula and tally my answer with your expected result.

Untitled.png


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

hi Ashish, 

thanks for your reply.

though rather than counting the unique repspondents, i want to see how many same respid appears for a cateogory which have different apps installed. a respid represents a user id so if i am having a same user id for more than 10 times for a category for different apps, i need to count that user once in no of user with more than 10 apps bucket.

 

below pic is to show you the outcome required in case of app category social.

 

image.png

 

Hi,

Is this the result you are expecting?  Could you share a much larger dataset and the actual bucket sizes.  This is for me to check the efficiency of the formula.  Also, on the larger dataset, please share the sample output for 1 or 2 categories.  Lastly, if there are more column that you want to include in the dataset (say Country) and filter the table by a specific country, then share that result of 1-2 categories for that specific country as well.

Untitled.png


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

Hi Ashish ,

Thx for your reply.yes it first look your solution seems right. i need this data only on category filter  for now. as per your comments i am sharting the large data set and expected result for 2 categories with actual bucket required,

https://1drv.ms/x/s!AqSgJWIdQo7Tiwht9pn6g5A54HC6?e=AxGtOh

 

image.png

Hi,

My solution works.  Please allow me time until Sunday to share my solution with you.

Untitled.png


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

Thanks Ashish. I would wait for your reply.

Hi,

You may refer to my solution at this Blog article.

Hope this helps.


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

thank you Ashsih for your help here. however i am not able to see the solution as access is denied.

You are welcome.  Your Office's firewall policies are coming in the way.  Try to download the file from your Home Computer.


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

i tried it with my phone, and with my personal account as well, but failed.:(

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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