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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors