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
ismails
Frequent Visitor

Top & Bottom based on measure

Hi,

 

i am working with Top and Bottom data, FinalMarketUnit is measure. But when i used measure Bottom the data(FinalMarketUnit) is blank .

topbot.PNG

Bot3MarketUnit =
CALCULATE (
[FinalMarketUnit],
KEEPFILTERS(
TOPN (3, ALL( RegionMDMarketShare[MainDealerName]), [FinalMarketUnit],ASC )
))

 

When i tried into Bot 5, the data just 1 record. below is the result:

BOT 5.PNG

 

whats wrong with my measure? any body help me

Thanks

2 REPLIES 2
v-yulgu-msft
Employee
Employee

Hi @ismails,

 

I tested with above measure with some sample data on my side, it worked and returned result as expected. Please provide data of your source table and the formula of measure [FinalMarketUnit] for further analysis.

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

hi @v-yulgu-msft,

 

When i tried the measure with another sample data it works.. i think the problem is with my measure and relationship.

Below i share the file pbi https://drive.google.com/open?id=1BfKlB1c5UTQc9K98PxYVx5ZSNuYCli5u

Hopefully u can give me the solutions..

 

Thank you

Regards,

ismails

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.