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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
cruzp
Helper III
Helper III

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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