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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
ismails
Frequent Visitor

Data Model and Report Solution

Hi all, 

I have report scenario like this:

when i select productName, GroupName, Month and Week then report appears data level GroupName and when i select ProductName, GroupName, SubGroupName, Month and Week then report appears data level SubGroupName.

pbi.PNG

 Hereby i share link the resources: https://drive.google.com/open?id=1BfKlB1c5UTQc9K98PxYVx5ZSNuYCli5u

Please advice about my data model and how to implement my concern.. Thank you

 

4 REPLIES 4
TomMartens
Super User
Super User

Hey,

 

please check these patterns:

If you want to use one measure, than create one measure in each table, and in the measure that "binds" them all to check what is filtered, depending on that choose one or the other.

 

Regards,

Tom

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
v-yulgu-msft
Employee
Employee

Hi @ismails,

 

For "report appears data level GroupName" "report appears data level SubGroupName.", do you mean the data displayed in visual is summarized based on "GroupName" or "SubGroupName"? 

 

If so, you should add both of these two fields into table visual, then, create a measure similar to:

Measure =
IF (
    CALCULATE ( ISFILTERED ( SubGroup[SubGroupName] ), ALLSELECTED ( SubGroup ) ),
    SUM ( table[value] ),
    CALCULATE ( SUM ( table[value] ), ALL ( SubGroup[SubGroupName] ) )
)

 

Best regards,

Yuliana Gu

 

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-yulgu-msft,

 

Yes  the data will display in visual is summarized based on "GroupName" and "SubGroupName", but in case i have 2 tables transaction ( transaction for Group and SubGroup). My concern is when i selected Sub Group data will display summarized data of Sub Group and when i selected Group data will display summarized data of Group in one visualization tool.

any idea? 

 

Best Regards,

ismail

 

Hi @ismails,

 

"but in case i have 2 tables transaction ( transaction for Group and SubGroup)."

 

After testing on that case, I'm afraid this requirement is not achievable.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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