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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
EZV12
Helper IV
Helper IV

Pbix report under DirectQuery mode - Questions & need help for solutions

Hello Everybody,

I have some problems in builing pbix report under DQ mode. As tables of data are hidden, I cannot creat fusions, neither add tables or columns...

 

Here is the link https://1drv.ms/u/s!AnbNXrfr-X8jdCh4I-viYzEgvpw?e=kGjuRO for a sample file pbix. I created it by entering the data manually, but the real report is under DQ mode. It would be great if you may help me to figure out some DAX formulas.

 

Here below please some images in which I explained my problems and asked questions:

EZV12_0-1621169584959.pngEZV12_1-1621169602374.pngEZV12_2-1621169620583.pngEZV12_3-1621169633392.png

 

Many thanks in advance for your kind help!

Best regards

Rachel

@v-yiruan-msft 

1 ACCEPTED SOLUTION
selimovd
Super User
Super User

Hey @EZV12 ,

 

why do you want to combine the companies and the plants? I think you can do all the analysis when they are in different dimensional tables.

Then you don't do a relationship between the two fact tables KPI data and KPI Target, you connect them with the dimensional tables, like that:

selimovd_0-1621256635247.png

 

Relationships are one of the basics of Power BI / DAX. You should take a time block and really try to understand them. I would recommend to start with the following articles:

Model relationships in Power BI Desktop - Power BI | Microsoft Docs

Relationships in Power BI and Tabular models - SQLBI

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

View solution in original post

3 REPLIES 3
selimovd
Super User
Super User

Hey @EZV12 ,

 

why do you want to combine the companies and the plants? I think you can do all the analysis when they are in different dimensional tables.

Then you don't do a relationship between the two fact tables KPI data and KPI Target, you connect them with the dimensional tables, like that:

selimovd_0-1621256635247.png

 

Relationships are one of the basics of Power BI / DAX. You should take a time block and really try to understand them. I would recommend to start with the following articles:

Model relationships in Power BI Desktop - Power BI | Microsoft Docs

Relationships in Power BI and Tabular models - SQLBI

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

Dear Denis,

Thank you very much for your reply. For my requests for DAX formulas, I published another message to better explain my needs. Here is the link: https://community.powerbi.com/t5/Desktop/DAX-formulas-requests-please-help/m-p/1846118 

May you please help? 

Many thanks.

Rachel

Hey @EZV12 ,

 

I answered in the other post.

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.