Skip to main content
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Nikko
New Member

Power BI dax measure unique value filter and switch

Hi,

My table : query 1

The column โ€œIndicatorโ€ contains unique number like , 119

Mertric_Numerator  is my calculated filed by choosing option from slicer

I want to get the result for Indicator number 119, then if the sum of numerator is blank โ€œNo Dataโ€ if

Sum of numerator is ?< 5 show โ€œlow count of dataโ€ else leave it blank ,    SUM(Query1[Metric_Numerator])

Please help

MEASURE= IF(

    SELECTEDVALUE(Query1[indicator])=119 && ----119 is unique id in indicator column from query1table

sum(Query1[Metric_Numerator])<5, "Low count number",

IF(  SELECTEDVALUE(Query1[indicator])=119 &&

 SUM(Query1[Metric_Numerator])=0 ||ISBLANK(SUM(Query1[Metric_Numerator])), "No Data",

    SUM(Query1[Metric_Numerator])

    ))

2 REPLIES 2
ribisht17
Super User
Super User

Please post some sample data here

Anonymous
Not applicable

Hi @Nikko ,

Can you please share a pbix or some dummy data that keep raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Users online (25)