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 dateJoin 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,
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
8 | |
7 | |
2 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |