Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I am getting the wrong result when I am selecting the slicer selections.
I trying to create the count of emails as per the provided criteria by country. The values and criteria should change as per the slicer selections.
I could able to see the correct values when do not select any slicer filters but the values are not correct when I select the slicers.
Please help me out here.
The below snapshot is the source data.
Below are the Measures I created:
1.
Your help in this regard is most appreciated.
Thanks,
Eliyaz.
Hey @emohammad ,
as far as I've seen all the slicers and the data are accessing the same table. Is that right?
In that case I think it might be the auto exist feature that is causing wrong results:
Understanding DAX Auto-Exist - SQLBI
Change your data model to a star schema, then the results should be calculated correctly.
Hi @selimovd,
Thanks for your reply. Yes, the data is accessing for the same table. Can you please provide bit more details for the solution?
I tried using GROUPBY as
Hey @emohammad ,
you cannot solve that with a measure. You have to change your data model.
All columns except for the income have to be put into separate dimensional tables. Then you use the columns from the dimensional tables to slice and for your measures. Then the result will be correct.
Here are some basics about dimensional tables:
what about create a creteria column in the table
COLUMN=
VAR Income_measure =
CALCULATE(SUM(Sheet1[Income]),
ALLEXCEPT(Sheet1,
Sheet1[Continent],
Sheet1[Country],
Sheet1[Email]),
ALLSELECTED(Sheet1[Source], Sheet1[Type]))
return IF([Income_measure]=0,"No income",IF([Income_measure]>=50,"High income","Intremediate income"))
Proud to be a Super User!
This looks like what OP did. The problem is that a calculated column cannot be responsive to slicers but you can't use a measure as the legend in the bar chart.
This needs an independent parameter table to use for the legend.
Thanks for your reply,
Can you please guide me on what can be done here with regards to the independent parameter table?
I also tried creating three measures for each criterion to color the values as shown below.
Thanks,
Eliyaz.
That looks like it lines up with the Income_Measure column. What values are you expecting instead?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 81 | |
| 73 | |
| 46 | |
| 35 |