SlideShare a Scribd company logo
1 of 12
Power-Ups
Filtering a slicer
Problem
● If slicing a report using a dimension table, the slicer will
contain all items in the dimension table even though there
may not be any data in the fact table
● This is problematic for the user since they may select
dates for which there is no data, or have trouble finding
the date they want to use as a report filter
2
Solution
● This is not a definitive solution, this just works for me as a work
around. I am yet to find a DAX solution that works in all cases
● The example I am using is for a date table as the dimension.
● Overview::
○ A calculated column in the date table that reference the
fact tables date
○ Add the measure as a calculated column to the Page or
Report level filters
○ Remove any blank items from the filter
3
4
Date Table
The date table starts on 1 Jan 2012.
Fact Table
The fact table starts in 2015
5
Slicer not filtered
The slicer (YearNumber) contains all the years in the date table from 2002
– 2019.
For the energy supply (Fact Table) there is only data from 2005 – 2016.
User Experience
Although this issue seems small it can impact the
user experience, for example:
● Not all the dates are shown in the drop down list
of the slicer.
● The user can see 2002 as a selection but 2016 is
not on the list.
● 2002 has no data and should be shown for
selection
● 2016 does have data but is not on the list
6
7
Add Calculated Column Date
Table
● Add a calculated column in the date table that refers to the datekey in the fact
table
● In the example above I used MAX() of the dates field in the fact table
● I named the column YearFact
8
Add to Page /
Report Filter
● Add the calculated column (YearFact) to
the Report Level Filters section
● You will notice that there are some field
that are blank, these are dates that
appear in the date table but not in the
fact table
9
Remove (Blank)
● Remove the (blank) fields by
deselecting the field
● This removes all the years in the slicer
for which there is no corresponding
year in the fact table
10
Ta-dah!
The year’s displayed in the
slicer now matched the years
for which the is data in the
fact table
Thanks!
I am Johann Krugell
A practical guide to “Power-Up” your analysis
You can find me at @JohannKrugell@linkedin
11
Credits
Special thanks to all the people who made and
released these awesome resources for free:
● Presentation template by SlidesCarnival
● Photographs by Unsplash
12

More Related Content

What's hot

Uop qrb 501 week 6 signature assignment new
Uop qrb 501 week 6 signature assignment newUop qrb 501 week 6 signature assignment new
Uop qrb 501 week 6 signature assignment newEfharisemica
 
Uop qrb-501-week-6-signature-assignment-new
Uop qrb-501-week-6-signature-assignment-newUop qrb-501-week-6-signature-assignment-new
Uop qrb-501-week-6-signature-assignment-newassignmentindi
 
Lesson 19 Part 1
Lesson 19 Part 1Lesson 19 Part 1
Lesson 19 Part 1wyork
 
Case Problem: Loan.xisx
Case Problem: Loan.xisxCase Problem: Loan.xisx
Case Problem: Loan.xisxViscKand
 
GeoGebra data analysis
GeoGebra data analysisGeoGebra data analysis
GeoGebra data analysisColleen Young
 
exploring_ecap_grader_c2_Transactions_LastFirst. solution
exploring_ecap_grader_c2_Transactions_LastFirst. solutionexploring_ecap_grader_c2_Transactions_LastFirst. solution
exploring_ecap_grader_c2_Transactions_LastFirst. solutionJackCandtona
 
The new features of excel 2016
The new features of excel 2016The new features of excel 2016
The new features of excel 2016Hajir H
 
This short project (also in week 7) allows students to calculate mor
This short project (also in week 7) allows students to calculate morThis short project (also in week 7) allows students to calculate mor
This short project (also in week 7) allows students to calculate morariysn
 
Office 365 Tip: Analyze Data Effectively
Office 365 Tip: Analyze Data EffectivelyOffice 365 Tip: Analyze Data Effectively
Office 365 Tip: Analyze Data EffectivelyMicrosoft India
 
Smart Sheet Range for Excel - Collabion Charts For SharePoint
Smart Sheet Range for Excel - Collabion Charts For SharePointSmart Sheet Range for Excel - Collabion Charts For SharePoint
Smart Sheet Range for Excel - Collabion Charts For SharePointCollabion Technologies
 

What's hot (16)

Uop qrb 501 week 6 signature assignment new
Uop qrb 501 week 6 signature assignment newUop qrb 501 week 6 signature assignment new
Uop qrb 501 week 6 signature assignment new
 
Uop qrb-501-week-6-signature-assignment-new
Uop qrb-501-week-6-signature-assignment-newUop qrb-501-week-6-signature-assignment-new
Uop qrb-501-week-6-signature-assignment-new
 
VIEWS
VIEWSVIEWS
VIEWS
 
Lesson 19 Part 1
Lesson 19 Part 1Lesson 19 Part 1
Lesson 19 Part 1
 
7
77
7
 
Case Problem: Loan.xisx
Case Problem: Loan.xisxCase Problem: Loan.xisx
Case Problem: Loan.xisx
 
GeoGebra data analysis
GeoGebra data analysisGeoGebra data analysis
GeoGebra data analysis
 
Microsoft excel
Microsoft excelMicrosoft excel
Microsoft excel
 
exploring_ecap_grader_c2_Transactions_LastFirst. solution
exploring_ecap_grader_c2_Transactions_LastFirst. solutionexploring_ecap_grader_c2_Transactions_LastFirst. solution
exploring_ecap_grader_c2_Transactions_LastFirst. solution
 
The new features of excel 2016
The new features of excel 2016The new features of excel 2016
The new features of excel 2016
 
Introduction
IntroductionIntroduction
Introduction
 
Microsoft excel
Microsoft excelMicrosoft excel
Microsoft excel
 
This short project (also in week 7) allows students to calculate mor
This short project (also in week 7) allows students to calculate morThis short project (also in week 7) allows students to calculate mor
This short project (also in week 7) allows students to calculate mor
 
Office 365 Tip: Analyze Data Effectively
Office 365 Tip: Analyze Data EffectivelyOffice 365 Tip: Analyze Data Effectively
Office 365 Tip: Analyze Data Effectively
 
Report Converter
Report ConverterReport Converter
Report Converter
 
Smart Sheet Range for Excel - Collabion Charts For SharePoint
Smart Sheet Range for Excel - Collabion Charts For SharePointSmart Sheet Range for Excel - Collabion Charts For SharePoint
Smart Sheet Range for Excel - Collabion Charts For SharePoint
 

Similar to Power ups filter a slicer

Business Analytics 1 Module 4.pdf
Business Analytics 1 Module 4.pdfBusiness Analytics 1 Module 4.pdf
Business Analytics 1 Module 4.pdfJayanti Pande
 
How to use Pivot Table in Analyzing Sales
How to use Pivot Table in Analyzing SalesHow to use Pivot Table in Analyzing Sales
How to use Pivot Table in Analyzing Salesreyeshazel
 
Developing a ssrs report using a ssas data source
Developing a ssrs report using a ssas data sourceDeveloping a ssrs report using a ssas data source
Developing a ssrs report using a ssas data sourcerelekarsushant
 
Excelling with Excel: Advanced Excel Functions for Collection Analysis
Excelling with Excel: Advanced Excel Functions for Collection AnalysisExcelling with Excel: Advanced Excel Functions for Collection Analysis
Excelling with Excel: Advanced Excel Functions for Collection AnalysisCharleston Conference
 
Power Ups Ledger FX Rate
Power Ups Ledger FX RatePower Ups Ledger FX Rate
Power Ups Ledger FX RateJohann Krugell
 
Supercharge Strategy Execution: Performance Scorecard
Supercharge Strategy Execution: Performance ScorecardSupercharge Strategy Execution: Performance Scorecard
Supercharge Strategy Execution: Performance ScorecardFlevy.com Best Practices
 
Microsoft Excel Basics
Microsoft Excel BasicsMicrosoft Excel Basics
Microsoft Excel BasicsCompudon
 
MS Excel Pivot Table Reports & Charts
MS Excel Pivot Table Reports & ChartsMS Excel Pivot Table Reports & Charts
MS Excel Pivot Table Reports & Chartsdnbakhan
 
Basic Pivot Features In Collabion Charts For SharePoint
Basic Pivot Features In Collabion Charts For SharePointBasic Pivot Features In Collabion Charts For SharePoint
Basic Pivot Features In Collabion Charts For SharePointCollabion Technologies
 
HOW TO KEEP TRACK ACTIVE USERS USING GOOGLE ANALYTICS
HOW TO KEEP TRACK ACTIVE USERS USING GOOGLE ANALYTICSHOW TO KEEP TRACK ACTIVE USERS USING GOOGLE ANALYTICS
HOW TO KEEP TRACK ACTIVE USERS USING GOOGLE ANALYTICSJoseph Rivera
 
Funções DAX.pdf
Funções DAX.pdfFunções DAX.pdf
Funções DAX.pdfJoao Vaz
 
02_GBS multinational Benchmarking Retail
02_GBS multinational Benchmarking Retail02_GBS multinational Benchmarking Retail
02_GBS multinational Benchmarking RetailPhilippe FIXEL
 
Regression Data for Final Project G3 Stat 615.MPJUsin.docx
Regression Data  for Final Project G3 Stat 615.MPJUsin.docxRegression Data  for Final Project G3 Stat 615.MPJUsin.docx
Regression Data for Final Project G3 Stat 615.MPJUsin.docxsodhi3
 
Instructions sc ex16_8a
Instructions sc ex16_8aInstructions sc ex16_8a
Instructions sc ex16_8aLegendsRIP
 
ACTG Tableau intro labDownload the TableauLab file and look ov.docx
ACTG   Tableau intro labDownload the TableauLab file and look ov.docxACTG   Tableau intro labDownload the TableauLab file and look ov.docx
ACTG Tableau intro labDownload the TableauLab file and look ov.docxnettletondevon
 
Reports and dashboards @salesforce
Reports and dashboards @salesforceReports and dashboards @salesforce
Reports and dashboards @salesforceKapil Kumar Patle
 
1 Mashing Up Data with PowerPivot When Filter, .docx
1 Mashing Up Data with PowerPivot  When Filter, .docx1 Mashing Up Data with PowerPivot  When Filter, .docx
1 Mashing Up Data with PowerPivot When Filter, .docxkarisariddell
 
Chapter 7 -DescriptiveStatistics and Pivot Table
Chapter 7 -DescriptiveStatistics and Pivot TableChapter 7 -DescriptiveStatistics and Pivot Table
Chapter 7 -DescriptiveStatistics and Pivot TableIzwan Nizal Mohd Shaharanee
 
1a s4 i creating runcharts final
1a s4 i creating runcharts final1a s4 i creating runcharts final
1a s4 i creating runcharts finalABCiABUHB
 
Introduction to Business analytics unit3
Introduction to Business analytics unit3Introduction to Business analytics unit3
Introduction to Business analytics unit3jayarellirs
 

Similar to Power ups filter a slicer (20)

Business Analytics 1 Module 4.pdf
Business Analytics 1 Module 4.pdfBusiness Analytics 1 Module 4.pdf
Business Analytics 1 Module 4.pdf
 
How to use Pivot Table in Analyzing Sales
How to use Pivot Table in Analyzing SalesHow to use Pivot Table in Analyzing Sales
How to use Pivot Table in Analyzing Sales
 
Developing a ssrs report using a ssas data source
Developing a ssrs report using a ssas data sourceDeveloping a ssrs report using a ssas data source
Developing a ssrs report using a ssas data source
 
Excelling with Excel: Advanced Excel Functions for Collection Analysis
Excelling with Excel: Advanced Excel Functions for Collection AnalysisExcelling with Excel: Advanced Excel Functions for Collection Analysis
Excelling with Excel: Advanced Excel Functions for Collection Analysis
 
Power Ups Ledger FX Rate
Power Ups Ledger FX RatePower Ups Ledger FX Rate
Power Ups Ledger FX Rate
 
Supercharge Strategy Execution: Performance Scorecard
Supercharge Strategy Execution: Performance ScorecardSupercharge Strategy Execution: Performance Scorecard
Supercharge Strategy Execution: Performance Scorecard
 
Microsoft Excel Basics
Microsoft Excel BasicsMicrosoft Excel Basics
Microsoft Excel Basics
 
MS Excel Pivot Table Reports & Charts
MS Excel Pivot Table Reports & ChartsMS Excel Pivot Table Reports & Charts
MS Excel Pivot Table Reports & Charts
 
Basic Pivot Features In Collabion Charts For SharePoint
Basic Pivot Features In Collabion Charts For SharePointBasic Pivot Features In Collabion Charts For SharePoint
Basic Pivot Features In Collabion Charts For SharePoint
 
HOW TO KEEP TRACK ACTIVE USERS USING GOOGLE ANALYTICS
HOW TO KEEP TRACK ACTIVE USERS USING GOOGLE ANALYTICSHOW TO KEEP TRACK ACTIVE USERS USING GOOGLE ANALYTICS
HOW TO KEEP TRACK ACTIVE USERS USING GOOGLE ANALYTICS
 
Funções DAX.pdf
Funções DAX.pdfFunções DAX.pdf
Funções DAX.pdf
 
02_GBS multinational Benchmarking Retail
02_GBS multinational Benchmarking Retail02_GBS multinational Benchmarking Retail
02_GBS multinational Benchmarking Retail
 
Regression Data for Final Project G3 Stat 615.MPJUsin.docx
Regression Data  for Final Project G3 Stat 615.MPJUsin.docxRegression Data  for Final Project G3 Stat 615.MPJUsin.docx
Regression Data for Final Project G3 Stat 615.MPJUsin.docx
 
Instructions sc ex16_8a
Instructions sc ex16_8aInstructions sc ex16_8a
Instructions sc ex16_8a
 
ACTG Tableau intro labDownload the TableauLab file and look ov.docx
ACTG   Tableau intro labDownload the TableauLab file and look ov.docxACTG   Tableau intro labDownload the TableauLab file and look ov.docx
ACTG Tableau intro labDownload the TableauLab file and look ov.docx
 
Reports and dashboards @salesforce
Reports and dashboards @salesforceReports and dashboards @salesforce
Reports and dashboards @salesforce
 
1 Mashing Up Data with PowerPivot When Filter, .docx
1 Mashing Up Data with PowerPivot  When Filter, .docx1 Mashing Up Data with PowerPivot  When Filter, .docx
1 Mashing Up Data with PowerPivot When Filter, .docx
 
Chapter 7 -DescriptiveStatistics and Pivot Table
Chapter 7 -DescriptiveStatistics and Pivot TableChapter 7 -DescriptiveStatistics and Pivot Table
Chapter 7 -DescriptiveStatistics and Pivot Table
 
1a s4 i creating runcharts final
1a s4 i creating runcharts final1a s4 i creating runcharts final
1a s4 i creating runcharts final
 
Introduction to Business analytics unit3
Introduction to Business analytics unit3Introduction to Business analytics unit3
Introduction to Business analytics unit3
 

Recently uploaded

{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...Suhani Kapoor
 

Recently uploaded (20)

{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
 

Power ups filter a slicer

  • 2. Problem ● If slicing a report using a dimension table, the slicer will contain all items in the dimension table even though there may not be any data in the fact table ● This is problematic for the user since they may select dates for which there is no data, or have trouble finding the date they want to use as a report filter 2
  • 3. Solution ● This is not a definitive solution, this just works for me as a work around. I am yet to find a DAX solution that works in all cases ● The example I am using is for a date table as the dimension. ● Overview:: ○ A calculated column in the date table that reference the fact tables date ○ Add the measure as a calculated column to the Page or Report level filters ○ Remove any blank items from the filter 3
  • 4. 4 Date Table The date table starts on 1 Jan 2012. Fact Table The fact table starts in 2015
  • 5. 5 Slicer not filtered The slicer (YearNumber) contains all the years in the date table from 2002 – 2019. For the energy supply (Fact Table) there is only data from 2005 – 2016.
  • 6. User Experience Although this issue seems small it can impact the user experience, for example: ● Not all the dates are shown in the drop down list of the slicer. ● The user can see 2002 as a selection but 2016 is not on the list. ● 2002 has no data and should be shown for selection ● 2016 does have data but is not on the list 6
  • 7. 7 Add Calculated Column Date Table ● Add a calculated column in the date table that refers to the datekey in the fact table ● In the example above I used MAX() of the dates field in the fact table ● I named the column YearFact
  • 8. 8 Add to Page / Report Filter ● Add the calculated column (YearFact) to the Report Level Filters section ● You will notice that there are some field that are blank, these are dates that appear in the date table but not in the fact table
  • 9. 9 Remove (Blank) ● Remove the (blank) fields by deselecting the field ● This removes all the years in the slicer for which there is no corresponding year in the fact table
  • 10. 10 Ta-dah! The year’s displayed in the slicer now matched the years for which the is data in the fact table
  • 11. Thanks! I am Johann Krugell A practical guide to “Power-Up” your analysis You can find me at @JohannKrugell@linkedin 11
  • 12. Credits Special thanks to all the people who made and released these awesome resources for free: ● Presentation template by SlidesCarnival ● Photographs by Unsplash 12