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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
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

ribisht17
Super User
Super User

Please post some sample data here

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.