Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I have created a CALCULATED COLUMN for bucketing impressions:
The below impressions formula is a MEASURE being referenced in the above formula
Visual added in power bi:
In a bar chart :
x axis: Impression Bucket
y axis: distinct count of h_id (h_id is a column containing id's , just taking distinct count of it)
global filters : brand_name, date (these are the same fields used in the above formulas)
Note: date field is in month granularity (for ex: jan, feb, mar: when multiple months are selected )
getting results only :
when i am selecting a single brand from brand_name filter i am able to get correct result in visual
when i am selecting a single date from date filter i am able to get correct result in visual
when single brand and single date is selected i am able to get correct result in visual
Require solution for:
when i select multiple brands from brand_name filter, then i am not able to get correct result
when i select multiple dates from date filter, then i am not able to get correct result
i am getting very high inflated results when multiple brands or dates are selected (basically getting dist count more than total h_id) but when measured in sql i am getting correct results, not sure what granularity is causing the issue.
Hi,
First of all, you should not refer to measures in calculated column formulas because calculated column formulas only update when either the file is opened or when the Refresh button is pressed. They do not update when a slicer selected is made/changed. If you want dynamic segmentation, please refer to the attached files.
Hi @Akshaymanjunath ,
Could you please provide sample data about the question? This will help me reproduce the problem.
How to provide sample data in the Power BI Forum - Microsoft Fabric Community
Best regards,
Mengmeng Li
User | Count |
---|---|
64 | |
59 | |
47 | |
33 | |
32 |
User | Count |
---|---|
84 | |
75 | |
56 | |
50 | |
44 |