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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
jgrundah
Helper I
Helper I

DAX measure that displays CD data when multiple CSDs are selected

I would like to create a measure that shows Census Division data when no Census Subdivision data is available.  The Census Subdivision data is suppressed or rounded, so measures that sum the data will be wrong.  I am wondering if there is a way to display Census Division data from a separate roll-up table when smaller communities are selected.  Communities that are too small or clusters of communities selected would default to displaying Census Division data for this measure.  If a single community is selected with Census Subdivision data available then the data is displayed otherwise the CD data is shown.

 

Background: Statistics Canada has Census data that is suppressed and/or rounded at lower geographic levels.  If the lower-level data is summed in a DAX measure and compared to the published CD results, there are errors.  I am looking for a DAX measure that can switch to the published CD result when one or more locations from the CD are selected.

1 REPLY 1
JarroVGIT
Resident Rockstar
Resident Rockstar

Hi @jgrundah ,

These questions are almost impossible to answer without any sort of sample data for us to work with. Could you provide some sample data, what is causing the error and what the expected result is? Then we can help you out 🙂

 

Kind regards

Djerro123

-------------------------------

If this answered your question, please mark it as the Solution. This also helps others to find what they are looking for.

Keep those thumbs up coming! 🙂





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

Top Solution Authors