The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Solved! Go to Solution.
Hi @Anonymous ,
Try:
Replace with Unknown =
VAR _comp_code = MAX('REP EMPLOYEE_DAILY'[COMP_CD_TXT])
RETURN
IF(_comp_code="", "Unknown", _comp_code)
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Try IF ( TEXT, TEXT1, 0 )
or
Try IF ( ISBLANK(TEXT), TEXT1, 0 )
I hope this helps
@Anonymous , this didn't help. The blank value is coming while combining both the tables. There is no blank value in the single table. I wanted to fill the blank dynamically. not in the table.
Perhaps solve blanks in power query?
Proud to be a Super User!
Awesome Keyboard Shortcusts in Power BI, thumbs up if you like the article
My Community Blog Articles (check them out!)
My Blog - Power M code to automatically detect column types -
How to create test data using DAX!
Hi @Anonymous ,
Try:
Replace with Unknown =
VAR _comp_code = MAX('REP EMPLOYEE_DAILY'[COMP_CD_TXT])
RETURN
IF(_comp_code="", "Unknown", _comp_code)
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, were you able to find the solution to this?
Hi,
Did you get the solution for this blank. Please share once.
@amitchandak , thanks for quick reply.
But in the table, there is no blank value exists. While joining both the tables and creating the visuals from both the tables, the blank value is coming.
User | Count |
---|---|
77 | |
77 | |
36 | |
30 | |
28 |
User | Count |
---|---|
107 | |
100 | |
55 | |
49 | |
45 |