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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
yanzhao_LBS
Helper I
Helper I

need help on the measure

i have made a matrix, the above is the detail and the last part is the summary,

 

Legacy_Qty_PY & Measure2 is the measure i created.and i want to create another measure to calculate the measure 2 value which the Legacy_Qty_py larger than 1.

 and i create a Measure 20

Measure20 = CALCULATE([Measure 2],FILTER('CHN Bowler Database',[Legacy_Qty_PY]>1))

but no value displayed.

yanzhao_LBS_1-1678078335370.png

please help about the measure,thanks

 

1 ACCEPTED SOLUTION

@yanzhao_LBS 
Sorry,
Small Syntax Correction , you need to remove table name after Calculate Function.

Measure=IF (CALCULATE([Legacy_Qty_PY]>1),CALCULATE([Measure 2],BLANK()))

try this ,

Thanks ,
Thennarasu

View solution in original post

5 REPLIES 5
Thennarasu_R
Responsive Resident
Responsive Resident

Hi @yanzhao_LBS 

Try this calculation ,I hope this one help to you If not get exact answer let me known.

Measure=IF (CALCULATE('CHN Bowler Database',[Legacy_Qty_PY]>1),CALCULATE([Measure 2],BLANK()))
Check this one,

Thanks ,
Thennarasu


Thanks for your reply ,but it seems not work

yanzhao_LBS_0-1678081256236.png

 

@yanzhao_LBS 
Sorry,
Small Syntax Correction , you need to remove table name after Calculate Function.

Measure=IF (CALCULATE([Legacy_Qty_PY]>1),CALCULATE([Measure 2],BLANK()))

try this ,

Thanks ,
Thennarasu

yanzhao_LBS_0-1678083362594.png

i think the calculation is by the summary,but i want is by detail. do you know how to by detail?

seems work , thanks for your help . i will check it deeper and accept this.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.