Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I'm looking to setup a Calculated Column so that when I turn on Category labels for the MAP within PowerBI it displays the name of the State (i.e. Queensland, South Australia), it'll display the name of the State and the Value (how many entries are from that state)
Right now it's showing me the Latitude and Longitude. How could I write a calculated column that would show the State (i.e. Queensland: 27) instead of the Lat & Long
I know the first part would be something along the line of
[value.SchoolState] & ": " & "Whatever the formula is here"
Thanks!
Solved! Go to Solution.
Found out how to accomplish this!
So if you are attempting to calculate values outside of it being a number there is a way to do this.
Number of Submissions Per State =
'All Applicants'[SchoolState] & ": " &
CALCULATE(COUNTA('All Applicants'[SchoolState]),
ALLEXCEPT('All Applicants', 'All Applicants'[SchoolState]))
This in turn will calculate the number of times a particular item shows up within that State, Employee, Location etc.
Found out how to accomplish this!
So if you are attempting to calculate values outside of it being a number there is a way to do this.
Number of Submissions Per State =
'All Applicants'[SchoolState] & ": " &
CALCULATE(COUNTA('All Applicants'[SchoolState]),
ALLEXCEPT('All Applicants', 'All Applicants'[SchoolState]))
This in turn will calculate the number of times a particular item shows up within that State, Employee, Location etc.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 37 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 32 | |
| 27 | |
| 25 |