Forum Discussion
Power BI - DAX Query
- 1 year ago
Hello Heinrich
try this
DEFINE
VAR __DS0FilterTable =
FILTER(
KEEPFILTERS(VALUES('CQD'[PSTN Trunk FQDN])),
NOT('CQD'[PSTN Trunk FQDN] IN {"sbc02-id.axa.co.id"})
)
VAR __DS0Core =
FILTER(
SUMMARIZECOLUMNS(
'CQD'[PSTN Trunk FQDN],
"SumTotal_Stream_Count", CALCULATE(SUM('CQD'[Total Stream Count])),
"SumPSTN_NER_Good_Percentage", CALCULATE(SUM('CQD'[PSTN NER Good Percentage]))
),
[SumPSTN_NER_Good_Percentage] < 100
)
VAR __DS0PrimaryWindowed =
TOPN(501, __DS0Core, 'CQD'[PSTN Trunk FQDN], 1)
EVALUATE
SELECTCOLUMNS(
__DS0PrimaryWindowed,
"SBC", 'CQD'[PSTN Trunk FQDN],
"NER", [SumPSTN_NER_Good_Percentage],
"TOTAL STREAM", [SumTotal_Stream_Count]
)
ORDER BY
"SBC"
Thanks,
Pankaj Namekar | LinkedInIf this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.
Thankyou, pankajnamekar25, for your response.
Hi Heinrich,
We sincerely appreciate your inquiry posted on the Microsoft Fabric Community Forum.
Please find attached the screenshot and the PBIX file, which we hope will assist you in resolving the issue:
If you find our response helpful, we kindly request you to mark it as the accepted solution and provide kudos. This will help other community members who might be facing similar queries.
Should you have any further questions or require additional assistance, please feel free to contact the Microsoft Fabric Community.
Thank you.