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
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
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.