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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
RonLieuw
Helper I
Helper I

Extract Zone unique values

Hi
I have a matrix of car accidents with rows Straat (street name) and columns Dagdeel (part of day accident happened: morning, afternoon, evening, night), the Zone the accident took place and some other data. I want to extract the unique values of Dagdeel and zone to use as a slicer.
How do you do that?

MatrixMatrix

1 ACCEPTED SOLUTION

Hi,

 

Donwload my PBI file from here.  Hope this helps.

 

Untitled.png


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

View solution in original post

5 REPLIES 5
waltheed
Impactful Individual
Impactful Individual

Can you share some samples of your data? That would help greatly to answer your question. 

Cheers, Edgar Walther
ITsmart BI and Analytics consultant

Hi Edgar, this is part of the csv file:

 

Casenr,Straat,Lat,Long,Waarde,Value
1,Kaminda George Willems,12.1529341,-68.8739812,Male,1
1,Kaminda George Willems,12.1529341,-68.8739812,Female,1
1,Kaminda George Willems,12.1529341,-68.8739812,Morto,0
1,Kaminda George Willems,12.1529341,-68.8739812,No interna,2
1,Kaminda George Willems,12.1529341,-68.8739812,Zone,2
1,Kaminda George Willems,12.1529341,-68.8739812,Dagdeel,Nacht
2,"Kaya Tronchi, Grote Berg",12.1930128,-69.0030296,Male,2
2,"Kaya Tronchi, Grote Berg",12.1930128,-69.0030296,Female,0
2,"Kaya Tronchi, Grote Berg",12.1930128,-69.0030296,Morto,0
2,"Kaya Tronchi, Grote Berg",12.1930128,-69.0030296,No interna,2
2,"Kaya Tronchi, Grote Berg",12.1930128,-69.0030296,Zone,1
2,"Kaya Tronchi, Grote Berg",12.1930128,-69.0030296,Dagdeel,Avond
3,Kaminda Laurentius M. Mathilda,12.1649545,-68.9590925,Male,0
3,Kaminda Laurentius M. Mathilda,12.1649545,-68.9590925,Female,2
3,Kaminda Laurentius M. Mathilda,12.1649545,-68.9590925,Morto,1
3,Kaminda Laurentius M. Mathilda,12.1649545,-68.9590925,No interna,1
3,Kaminda Laurentius M. Mathilda,12.1649545,-68.9590925,Zone,1
3,Kaminda Laurentius M. Mathilda,12.1649545,-68.9590925,Dagdeel,Avond

Hi,

 

Donwload my PBI file from here.  Hope this helps.

 

Untitled.png


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

Thank you again Ashish_Mathur. Works perfect. Power BI is simple but not easy!

You are welcome.


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

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors