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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.