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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
basirve
Helper III
Helper III

DAX formula Priority

Dear EXperts,
If the POD Call type with in daterange exists then the give priority of them else others Calltype.
1) If the Skill Target ID having 2 Calltypes are 1) POD 2)Other
in these case we have to show POD for other call type shows Blank,In case of skilltarget id is not having any POD calltype with in date range then we have to show Same calltype.
How to achive this in calculated column in DAX.

 

Please call me in case of any issues,


Thanks % Regards,

Venkat

MobWhatsapp:7411002501
 

 

basirve_0-1656491957242.png

 

2 REPLIES 2
basirve
Helper III
Helper III

Dear Amit,
In the above logic if POD Calltype Exists then we have to show POD for others Blanks need to Show.
How can we achive that sceneraio, Could you pls suggest your thoughs?

Calculated Colum:
_Test =
IF (
ISBLANK ( Denodo_Primary_Area_Agent_Attribute[_Call Type 4 Characters] ),
MAXX (
FILTER (
Denodo_Primary_Area_Agent_Attribute,
EARLIER ( Denodo_Primary_Area_Agent_Attribute[Disc_Dt] ) >= Denodo_Primary_Area_Agent_Attribute[Eff_Dt]
&& EARLIER ( Denodo_Primary_Area_Agent_Attribute[Disc_Dt] ) <= Denodo_Primary_Area_Agent_Attribute[Eff_Dt]
),
Denodo_Primary_Area_Agent_Attribute[_Call Type 4 Characters]
),
Denodo_Primary_Area_Agent_Attribute[_Call Type 4 Characters]
)
 

basirve_0-1656495827162.png

 

amitchandak
Super User
Super User

@basirve , Nor very clear ,

 

a new column

=if(isblank([Call Type]), Maxx(filter(Table, earlier(Table[Dts]) >= Table[EF] && earlier(Table[Dts]) <= Table[Dts] ), [Call Type]) , [call Type])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.