Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi everyone.
I have a dashboard that includes a bar chart and line chart that compares data from one organization versus the total of all the organizations in the region. I need the regional data to not be affected by any other filters with one exception - specfic values in the classification column.
Here is my DAX code:
Regional Measure =
Hi @FarquharG ,
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.
Thank you
Can you please paste here some example of the table so we can reproduce the error? So we can import in Power BI and help you
@FarquharG Try this:
Regional Measure =
VAR __Table = FILTER( ALL( 'AllData' ), [Classification] IN {"Class II", "Class III", "Class IV" )
VAR __Result = SUMX( __Table, [TotalInquiries] )
RETURN
__Result
Hi Greg,
I added a "}" at the end of the first VAR line after "Class IV" because it was giving me an error. When I attempted the code, my regional numbers disappeared from the visuals.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
7 | |
6 |
User | Count |
---|---|
14 | |
12 | |
11 | |
9 | |
9 |