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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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