Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi there,
I am working with a similar data set to the image below, however on a much bigger scale (13,000+ rows).
I am trying to get a count for the following headings:
Total number of people who have lived in Wellington
Total number of people who have lived in Auckland
Total number of people who have lived in Christchurch
Total number of people who have lived in Dunedin
Total number of people who have lived in Rotorua
As well as slicing by year of birth (how many people born in 1992 have lived in each location, how many people born in 1993 have lived in each location etc.) if possible?
E.g. 'X' number of people have lived in Wellington, 'X' of which were born in 1992, 'X' of which were born in 1993 etc.
Is there a way to read all 4 location columns to find this information? A measure? Pivoting table?
Solved! Go to Solution.
you can try to unpiovt the table in the PQ. select the location columns and unpivot columns.
then all the location data will be in the one column, that will be easier to calculate
if this does not solve the your problem, pls provide the sample data (not the screenshot) and the expected output based on the sample data you provided.
Proud to be a Super User!
you can try to unpiovt the table in the PQ. select the location columns and unpivot columns.
then all the location data will be in the one column, that will be easier to calculate
if this does not solve the your problem, pls provide the sample data (not the screenshot) and the expected output based on the sample data you provided.
Proud to be a Super User!
Perfect! Thank you very much!
you are welcome
Proud to be a Super User!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
User | Count |
---|---|
85 | |
85 | |
69 | |
67 | |
63 |
User | Count |
---|---|
210 | |
118 | |
116 | |
81 | |
74 |