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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
IF
Post Prodigy
Post Prodigy

Row value

Hi,

I want to show the row value for each selection. the file is here: https://we.tl/t-LcWJHkuk62 If nothing is selected, the default value should be shown based on Value[Rel]=”V”. For example,

  • if month 09.2023 is selected for type A, the default value (without selecting other slicers) should be 75.334. Similarly if month 06.2023 is selected for type A, the result should be “blank” since there is no V value
  • if month 09.2023 and city is CityG, the result should be 77.00
  • if month 09.2023 and town is TownE, the result should be 66 . It should be blank for the month 06.2023 since there is no value for TownE.
  • if month 09.2023 and RegionB is selected for TypeA, the result should be 78. It should be blank for the month 06.2023 since there is no value for RegionB.
1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

 

PlanTestExcel = if (isfiltered(CityTable)||ISFILTERED(RegionTable)||ISFILTERED(TownTable),sum(Main[Value1]),CALCULATE(sum(Main[Value1]),Main[Rel]="V"))

 

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

 

PlanTestExcel = if (isfiltered(CityTable)||ISFILTERED(RegionTable)||ISFILTERED(TownTable),sum(Main[Value1]),CALCULATE(sum(Main[Value1]),Main[Rel]="V"))

 

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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