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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Analitika
Post Prodigy
Post Prodigy

Null value in related column in table in Power BI

Hi,

 

Having issue like I created new column in table using dax related(date1[date]). But column contains null values. Also there is a relationship between tables Pardavimai and Date1. I don't get why column is null. Date1 table is created from Pardavimai date column. Pls help me solve this issue.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @Analitika,

It seems that your problem has been resolved as you mentioned in the following thread.

Error in calculating rate in Power BI

Ok. I solved it. xxxx

Best Regards

View solution in original post

4 REPLIES 4
Analitika
Post Prodigy
Post Prodigy

hi,

 

I would like to ask why measure gives me null value?

 

 

mok_ly = 
IF( HASONEVALUE('Date1'[Metai]) ,CALCULATE ( [moketina_suma],
    DATEADD ('Date1'[Date],-1,YEAR ) ) )

 

Table visual:

 

Analitika_0-1656575818533.pngAnalitika_1-1656575840040.png

relationship between two tables

Anonymous
Not applicable

Hi  @Analitika,

It seems that your problem has been resolved as you mentioned in the following thread.

Error in calculating rate in Power BI

Ok. I solved it. xxxx

Best Regards

Anonymous
Not applicable

Hi @Analitika ,

You can update the formula of measure [mok_ly] as below and check if you can get the correct result...

mok_ly =
IF (
    HASONEVALUE ( 'Date1'[Metai] ),
    CALCULATE (
        [moketina_suma],
        DATEADD ( 'Date1'[Date], -1, YEAR ),
        ALL ( yourfacttablename )
    )
)

yingyinr_0-1656900566927.png

Best Regards

Anonymous
Not applicable

Hi @Analitika ,

May I know if this thread has the same problem with the below one? If yes, you can check my reply in the below one. Thank you.

Has one value measure issue in Power BI

Otherwise, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.