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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
cruzp
Helper V
Helper V

Get the value or category associated on the selected date parameter/slicer

I want to have a date selected value based on the existing dates from the SNAPSHOT_DATE_BK and use that as a parameter/a date to interact with the calculations that i will explain in the following  part.

 

I have a data like that:

PROJECT_BK

PROJECT_NAMEREVENUE_CATEGORY_BKSNAPSHOT_DATE_BK
PROJ-0021POC - Cloud RC_PS_TM07/12/2022
PROJ-0021POC - Cloud RC_PS_TM08/12/2022
PROJ-0021POC - Cloud RC_PS_TM13/11/2022
PROJ-0021POC - Cloud RC_DX_EF14/10/2022
PROJ-0021POC - Cloud RC_DX_EF15/10/2022
PROJ-0021POC - Cloud RC_DX_EF20/09/2022
PROJ-0021POC - Cloud RC_DX_EF21/09/2022
PROJ-11113DL - TokenizedDB_TD_ER23/12/2022
PROJ-11113DL - TokenizedDB_TD_ER01/12/2022

 

 

Help me create a table that shows the value of the REVENUE_CATEGORY_BK based on the selected date parameter that contains values available only in the SNAPSHOT_DATE_BK, and if the date parameter does not have a value for REVENUE_CATEGORY_BK, it will show Null.

 

Expected Output Sample 1 -  when a Date Parameter/Slicer is selected 23/12/2022, the value for the calculated CURRENT_REVENUE_CATEGORY_BK will show 'Null' since PROJ-0021 does not have a REVENUE_CATEGORY on 23/12/2022.

 

cruzp_0-1689128478650.png

 

 

 

Expected Output Sample 2when a Date Parameter/Slicer is selected 14/10/2022, the value for the CURRENT_REVENUE_CATEGORY_BK will show 'RC_DX_EF' since that is the associated REVENUE_CATEGORY_BK for that specific Date.

cruzp_1-1689128502760.png

 

 

 

 

Expected Output Sample 3 - when a Date Parameter/Slicer is selected 07/12/2022, the value for the CURRENT_REVENUE_CATEGORY_BK will show 'RC_PS_TM' since that is the associated REVENUE_CATEGORY_BK for that specific Date.

cruzp_2-1689128526214.png

 

 

1 REPLY 1
lbendlin
Super User
Super User

Sounds like all you need is a slicer or a page level filter for SNAPSHOT_DATE_BK ?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.