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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
azzufaraslam
Regular Visitor

Denominator is Affected by Slicer

Hi all!

 

I made a PowerBI to monitor Leadership in the Field (LIF) periodically. As you see in picture below, it has percentage of LIF (Conducted/Monthly Target). This LIF is monitored usually on monthly basis. The 2023 YTD LIF% in picture below has no issue. 4477/338 is 1325%. LIF 1.PNG

 

However, if I change the month slicer to particular month (e.g. November in picture below), the LIF% doesn't match the actual value. The percentage should be about 27% (94 divided by 338) instead of 52%. It turns out that the LIF Target is affected by the "Month" slicer. The LIF Target should be fixed each month.

 

LIF 2.PNG

 

For your information, I have two tables to make the dashboard: User LIF and LIF Combined. User LIF is database of the user of LIF, and LIF Combined is database of LIF conducted. These two tables are interconnected by "Name" and "Verifier" as the key. "LIF Conducted" was obtained from "70%" column (i.e. number of LIF) in "LIF Combined" table. "LIF Target" was obtained from "LIF Target" column in "User LIF" table. Month slicer came from "verification_date" in "LIF Combined" table. 

 

azzufaraslam_0-1700209998380.png

azzufaraslam_1-1700210334176.png

 

Does anybody can help me on this issue? I tried several method, but the denominator is still affected by month slicer. Thanks in advance!

 

6 REPLIES 6
Rupak_bi
Resolver II
Resolver II

please share sample data/pbix and dax of your LIF%.

Here is the DAX

 

azzufaraslam_0-1700443555274.png

 

Here is data sample from table 'LIF Combined':

 

azzufaraslam_1-1700443631124.png

 

Here is data sample of table 'User LIF':

 

azzufaraslam_2-1700443747123.png

 

please share the data in plain text so that I can copy.

Here is the data from "LIF Combined":

 

verification_nidverification_dateverifier70%30%
340316Feb 28, 2023Tadibali Tadibali10
340510Feb 28, 2023Rudy Rudy10
340558Feb 28, 2023Arifuddin Arief10
340562Feb 28, 2023Arifuddin Arief10
340610Feb 28, 2023Sarman Maharding10
340645Feb 28, 2023Rusbiara Rustam10
340701Feb 28, 2023Peri Ardinal10
340733Feb 28, 2023Wahyu Sumartono10
340742Feb 28, 2023Agustinus Batara10
340822Feb 28, 2023Syamsu Alam10
314175Jan 29, 2023Yohanis Bassi10
314247Jan 29, 2023Elfis Podandi10
314251Jan 29, 2023Elfis Podandi10
314271Jan 29, 2023Rahman Rahman10
314274Jan 29, 2023Amirullah Amirullah10
314289Jan 29, 2023Sadri Sadri10
314308Jan 29, 2023Anton 808710
314313Jan 29, 2023Mashuddin Mashuddin10
314318Jan 29, 2023Mashuddin Mashuddin10
314319Jan 29, 2023Mashuddin Mashuddin10

 

Below is table "User LIF":

 

 

NameLIF Target
Agustinus Batara4
Amirullah Amirullah8
Anton 80874
Arifuddin Arief8
Elfis Podandi8
Mashuddin Mashuddin8
Peri Ardinal4
Rahman Rahman4
Rudy Rudy4
Rusbiara Rustam8
Sadri Sadri8
Sarman Maharding8
Syamsu Alam8
Tadibali Tadibali0
Wahyu Sumartono4
Yohanis Bassi0

Hi,

 

based on the data shared by you, I am getting correct result. So your formula also should work. please share entire data for better understanding of your problem. 

 

Rupak_bi_0-1700637595723.png

 

Can I send it to you by email instead? I've tried to send the data via comment, but couldn't be sent. I think it's because its size is too big. If possible, you can give your email via personal message.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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