Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Everyone,
We are converting report from Qlikview to Power BI. Please help me to write DAX expression for the same. I wrote the dax expression but I am not getting expected result.
Dax expression:
Hi @Kavya123 ,
Did you get the expected result base on my provided measure formulas? If yes, could you please mark it as Answered? It will help the others find the solution easily if they face the same problem with you. Thank you.
Best Regards
Hi @Kavya123 ,
You can create the measeures as below:
Avg score of 1209 =
AVERAGEX (
FILTER (
ALLSELECTED ( 'PROFILERTABLENEWSUBMITTED Score' ),
'PROFILERTABLENEWSUBMITTED Score'[PDataPoint] = 1209
&& 'PROFILERTABLENEWSUBMITTED Score'[Answer_Flag] = 1
),
'PROFILERTABLENEWSUBMITTED Score'[NEWScore]
)
Avg score of 1210 =
AVERAGEX (
FILTER (
ALLSELECTED ( 'PROFILERTABLENEWSUBMITTED Score' ),
'PROFILERTABLENEWSUBMITTED Score'[PDataPoint] = 1210
&& 'PROFILERTABLENEWSUBMITTED Score'[Answer_Flag] = 1
),
'PROFILERTABLENEWSUBMITTED Score'[NEWScore]
)
Avg score of Total =
FLOOR (
AVERAGEX (
FILTER (
ALLSELECTED ( 'PROFILERTABLENEWSUBMITTED Score' ),
'PROFILERTABLENEWSUBMITTED Score'[Answer_Flag] = 1
),
'PROFILERTABLENEWSUBMITTED Score'[NEWScore]
),
1
)
Measure =
CALCULATE (
DISTINCTCOUNT ( 'PROFILERTABLENEWSUBMITTED Score'[POrganization] ),
FILTER (
ALLSELECTED ( 'PROFILERTABLENEWSUBMITTED Score' ),
[Avg score of 1210] < [Avg score of total]
&& [Avg score of 1210] > [Avg score of 1209]
)
) + 0
If the above one is not working, please provide some sample data (exclude sensitive data) and your expected result with sample or screenshots. Thank you.
Best Regards
Please provide sample data in usable format (not as a picture) and show the expected outcome.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
3 |