Forum Discussion
Jit007
1 year agoHelper II
Exclude data from overall calculations
Need help on this scenerio : PBIX file
I have two tables as below
1 table- Raw data Score from database
2 table- Analyzed data only for score=1
For New avarage - I'm trying to show here after analyzing the 1 score TK data where the fault grp is not same grp name as per raw data then exclude those tickets from overall aveg calculations & include only TK data 1 score where fault grp & grp name is same in both tables & other TK as it is as per shown below
how to get this in power bi..Thanks
Hi,
PBI file attached.
Hope this helps.
6 Replies
- Ashish_MathurSuper User
- Jit007Helper IIMeasure = if(HASONEVALUE('Table 1'[TK #]),[Avg],CALCULATE([Avg],'Table 1'[FG]<>"Other grp"))What if i have other group name in coloumn instead of only"Other grp". i.e.- New Group, Diff group, inactive groupIs there anyway i can refer only if = ABC or XYZ then calculate the avg & if not ignore..Thanks
- Ashish_MathurSuper User
Hi,
You mean something like this
Measure = if(HASONEVALUE('Table 1'[TK #]),[Avg],CALCULATE([Avg],'Table 1'[FG]="ABC"||'Table 1'[FG]="XYZ"))