The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
I have attached a screenshot of what I would like to accomplish.
The idea is to create CPL (Cost-per-Lead) for different countries and display them over a certain time period.
I have set up the different CPL-Calculations with DAX Measures.
I have the countries in a fact table.
I would now like to create a table "CPL per Country" with the columns "Country" and "CPL".
Then create a relation between Country (fact table) and Country (CPL per Country table).
The challenge I'm facing is that I cannot (or don't know how to) insert the CPL for each Country as a measure into the new "CPL per Country" table.
I hope I could explain what I would like to accomplish. 😄
Thanks for your help/input in advance!
Edit:
Solution that worked for me:
Create a static table with the country names
Create the switch statement for countries:
Result:
Solved! Go to Solution.
You can only hide them if they are empty throughout.
Please provide sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.
@lbendlin wrote:You can only hide them if they are empty throughout.
Please provide sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.
This is how it should look like and here is the
Same problem as before. You would need to provide yet another reference table with the list of measure names as a column. Then you would have to add that column to the rows area of the matrix, and condense all your current measures into one.
@lbendlin The problem is that I don't know how to provide sample data without giving away sensitive information in this case.
You create new sample data without sensitive information.
Thanks for your help. I'm currently building another report which is more urgent - but I hope I will get back to this one by the end of the week to see if your suggestion will do the trick! 🙂
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...