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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
BDale93
Helper I
Helper I

Value Display only at certain levels of matrix visual

Hello,

 

I have a matrix visual with multiple levels of hiearchy. I would like to display my value fields only at certain levels. I'm able to successfully to this but only with one of the fields, adding additional criteria causes the value to display on all levels.

 

Milestone Amount Filter = IF(HASONEVALUE(one_time_charges[number]),SUM(one_time_charges[base_cost]),BLANK())

BDale93_1-1698336696589.png

 

But when trying to add the additional criteria I get this and I just want to have the 9905 number show on the 2nd level 

Milestone Amount Filter 2.0 = IF(HASONEVALUE(one_time_charges[number]) || HASONEVALUE(one_time_charges[dv_contract]),SUM(one_time_charges[base_cost]),BLANK())

BDale93_2-1698336824306.png

 

Any help would be appreciated!

1 REPLY 1
lbendlin
Super User
Super User

You need a combination of HASONEVALUE and ISINSCOPE and it may still not work because your hierarchy branch may only have a single leaf.  Rethink your requirement.

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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